#2259B0#2259B0

#2259B0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.150 H 259.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2259B0
RGBrgb(34, 89, 176)
HSLhsl(217, 68%, 41%)
HSVhsv(217, 81%, 69%)
CMYKcmyk(80.7%, 49.4%, 0%, 31%)
CIE-LABlab(38.93, 14.52, -51.43)
CIE-LCHlch(38.93, 53.45, 285.77°)
OKLaboklab(47.82% -0.0275 -0.148)
OKLCHoklch(47.82% 0.15 259.5)
XYZxyz(12.0657, 10.6180, 42.4794)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2259B0 #B07922
analogous
#22A0B0 #2259B0 #3222B0
triadic
#2259B0 #B02259 #59B022
tetradic
#2259B0 #B022A0 #B07922 #22B032
square
#2259B0 #B022A0 #B07922 #22B032
split-complementary
#2259B0 #B03222 #A0B022
monochromatic
#0E2549 #183F7D #2259B0 #3775D8 #6A99E2

Accessibility & contrast

On white

6.72
#2259B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2259B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2259B0
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2259B0#FFFFFF#000000##FFFFFF
##2259B01.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2259b0;
/* rgb */ color: rgb(34, 89, 176);
/* oklch */ color: oklch(47.8% 0.150 259.5);
Tailwind
colors: {
  custom: {
    50: '#7487c8',
    500: '#2259b0',
    950: '#000000',
  },
}
SCSS
$custom: #2259b0;
$custom-light: #7487c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2259b0",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 176
  },
  "hsl": {
    "h": 216.761,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47816,
    "c": 0.15049,
    "h": 259.5
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#2259B0
secondary
#C8A266
accent
#A73DEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2259B0

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

Preview Lab → · Contrast checker → · Palette generator →

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