#2259AC#2259AC

#2259AC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.145 H 258.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2259AC
RGBrgb(34, 89, 172)
HSLhsl(216, 67%, 40%)
HSVhsv(216, 80%, 67%)
CMYKcmyk(80.2%, 48.3%, 0%, 32.5%)
CIE-LABlab(38.66, 12.95, -49.51)
CIE-LCHlch(38.66, 51.17, 284.66°)
OKLaboklab(47.52% -0.0281 -0.1423)
OKLCHoklch(47.52% 0.145 258.8)
XYZxyz(11.6757, 10.4620, 40.4257)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2259AC #AC7522
analogous
#229EAC #2259AC #3022AC
triadic
#2259AC #AC2259 #59AC22
tetradic
#2259AC #AC229E #AC7522 #22AC30
square
#2259AC #AC229E #AC7522 #22AC30
split-complementary
#2259AC #AC3022 #9EAC22
monochromatic
#0E2446 #183F79 #2259AC #3475D7 #6798E1

Accessibility & contrast

On white

6.79
#2259AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2259AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2259AC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2259AC#FFFFFF#000000##FFFFFF
##2259AC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2259ac;
/* rgb */ color: rgb(34, 89, 172);
/* oklch */ color: oklch(47.5% 0.145 258.8);
Tailwind
colors: {
  custom: {
    50: '#7387c5',
    500: '#2259ac',
    950: '#000000',
  },
}
SCSS
$custom: #2259ac;
$custom-light: #7387c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2259ac",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 216.087,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.14503,
    "h": 258.8
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#2259AC
secondary
#C79F63
accent
#A53EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2259AC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2259AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva