Skip to content

#2297df

a balanced, vivid blue · cool · closest name: Dodger Blue

RGB
34, 151, 223
HSL
203°, 75%, 50%
CMYK
85, 32, 0, 13
Luminance
0.2780

At a glance

Every number on this page in one read: what #2297df is made of, how bright it looks, and which way it leans.

Hex
#2297df
Hue
203°
blue
Saturation
75%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2780
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.56:1
Closest name
Dodger Blue
ΔE2000 5.9
Where it sits
Hue203° of 360°
Saturation75%
Lightness50%
Temperature
Warm ← → Cool97% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2297df
RGBrgb(34, 151, 223)
HSLhsl(203, 75%, 50%)
CMYKcmyk(85%, 32%, 0%, 13%)
LABlab(59.7 -5.8 -45.2)
LCHlch(59.7 45.6 262.7)
OKLCHoklch(0.649 0.145 242.5)
Decimal2267103
Display P3color(display-p3 0.133 0.592 0.875)

Copy-ready code

/* CSS */
color: #2297df;
background-color: #2297df;
/* Tailwind (arbitrary) */
class="text-[#2297df] bg-[#2297df]"
/* SCSS */
$brand: #2297df;
/* SwiftUI */
Color(red: 0.133, green: 0.592, blue: 0.875)
/* Android */
Color.parseColor("#2297df")
/* Flutter */
Color(0xFF2297DF)
/* Python / OpenCV (BGR) */
(223, 151, 34)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #2297df · 6.56:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.20:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.56:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #2297df as text scores 3.20:1 on white and 6.56:1 on black.

Accessibility — WCAG contrast

Aa
#2297df on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#2297df on black: 6.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7599E2
deuteranopia · #5B88DE
tritanopia · #00A9B1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2297df is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F8FC
#E7F2F9
#C8E3F4
#9DD1F1
#6CBAEA
#3BA3E3
#2297df
#1A78B2
#15608F
#134767
#0C2C41
Base = 600Lightest = 50 · #F3F8FCDarkest = 950 · #0C2C41
:root {
  --brand-50: #F3F8FC;
  --brand-100: #E7F2F9;
  --brand-200: #C8E3F4;
  --brand-300: #9DD1F1;
  --brand-400: #6CBAEA;
  --brand-500: #3BA3E3;
  --brand-600: #2297df;
  --brand-700: #1A78B2;
  --brand-800: #15608F;
  --brand-900: #134767;
  --brand-950: #0C2C41;
  --brand: #2297df;
  --brand-ink: #000000;
}

Colors that work with #2297df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0DCED
Hairlines and dividers
Muted text#4B7C9B
Captions on the surface
Accent#E4371D
Second voice, not a rival
Dark variant#104B6F
Hover, pressed, headers
Light variant#E9F5FC
Selected rows, tints
Dark surface#141E24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #2297df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DF6A22
Analogous left#22DFC9
Analogous right#2238DF
Split-complement 1#DF2238
Split-complement 2#DFC922
Triadic 1#DF2297
Triadic 2#97DF22
Tetradic#C922DF

RGB percentages

Red13.3%
Green59.2%
Blue87.5%

CMYK percentages

Cyan84.8%
Magenta32.3%
Yellow0.0%
Key (black)12.5%

Color previews

#2297df text on a black background

contrast 6.56:1

Card sample

#2297df text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2297df;
Background color
Panel with #2297df background
background-color: #2297df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2297df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(34, 151, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(34, 151, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2297df;
background: linear-gradient(135deg, #2297df, #2B22DF);

Monochromatic scale

Palettes built from #2297df

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#2297df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#2297df, answered

What color is #2297df?

#2297df is a balanced vivid blue, closest to Dodger Blue (ΔE2000 5.9). It sits at 203° on the hue wheel with 75% saturation and 50% lightness, which reads as cool.

What is the RGB value of #2297df?

rgb(34, 151, 223) — 34 red, 151 green and 223 blue out of 255, or 13.3% / 59.2% / 87.5% by channel.

Is #2297df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2780 and perceived brightness is 55%, so black text on it reaches 6.56:1.

Should I use black or white text on #2297df?

Black. It scores 6.56:1 against #2297df, versus 3.20:1 for white — AA at any size.

What is the complementary color of #2297df?

#DF6A22 sits directly opposite on the wheel. Softer options are the split-complements #DF2238 and #DFC922, which give the same contrast with far less vibration.

What colors go well with #2297df?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7C9B for secondary text, #E4371D as an accent and #104B6F for hover and pressed states. For a palette, the analogous pair #22DFC9 and #2238DF stays calm, while #DF6A22 is the loudest partner.

What is #2297df in CMYK for printing?

cmyk(85%, 32%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2297df warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #22DCDF; nudged cooler, #1B7CCD.

Work with #2297df in the Color Lab