#2254C9#2254C9

#2254C9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.190 H 263.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2254C9
RGBrgb(34, 84, 201)
HSLhsl(222, 71%, 46%)
HSVhsv(222, 83%, 79%)
CMYKcmyk(83.1%, 58.2%, 0%, 21.2%)
CIE-LABlab(39.40, 27.54, -65.28)
CIE-LCHlch(39.40, 70.85, 292.88°)
OKLaboklab(48.76% -0.0217 -0.1887)
OKLCHoklch(48.76% 0.19 263.5)
XYZxyz(14.3689, 10.8960, 56.5928)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2254C9 #C99722
analogous
#22A7C9 #2254C9 #4322C9
triadic
#2254C9 #C92254 #54C922
tetradic
#2254C9 #C922A7 #C99722 #22C943
square
#2254C9 #C922A7 #C99722 #22C943
split-complementary
#2254C9 #C94322 #A7C922
monochromatic
#102860 #193E95 #2254C9 #4876E0 #7C9DE9

Accessibility & contrast

On white

6.60
#2254C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2254C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2254C9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2254C9#FFFFFF#000000##FFFFFF
##2254C91.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2254c9;
/* rgb */ color: rgb(34, 84, 201);
/* oklch */ color: oklch(48.8% 0.190 263.5);
Tailwind
colors: {
  custom: {
    50: '#7b83da',
    500: '#2254c9',
    950: '#000000',
  },
}
SCSS
$custom: #2254c9;
$custom-light: #7b83da;
$custom-dark: #000000;
JSON
{
  "hex": "#2254c9",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 222.036,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.18999,
    "h": 263.5
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#2254C9
secondary
#D1B676
accent
#B83AEE
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2254C9

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

Preview Lab → · Contrast checker → · Palette generator →

#2254C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva