#2255C9#2255C9

#2255C9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.189 H 263.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2255C9
RGBrgb(34, 85, 201)
HSLhsl(222, 71%, 46%)
HSVhsv(222, 83%, 79%)
CMYKcmyk(83.1%, 57.7%, 0%, 21.2%)
CIE-LABlab(39.67, 26.89, -64.85)
CIE-LCHlch(39.67, 70.20, 292.52°)
OKLaboklab(48.96% -0.0222 -0.1875)
OKLCHoklch(48.96% 0.189 263.2)
XYZxyz(14.4470, 11.0523, 56.6189)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255C9 #C99622
analogous
#22A8C9 #2255C9 #4322C9
triadic
#2255C9 #C92255 #55C922
tetradic
#2255C9 #C922A8 #C99622 #22C943
square
#2255C9 #C922A8 #C99622 #22C943
split-complementary
#2255C9 #C94322 #A8C922
monochromatic
#102960 #193F95 #2255C9 #4877E0 #7C9EE9

Accessibility & contrast

On white

6.54
#2255C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2255C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2255C9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255C9#FFFFFF#000000##FFFFFF
##2255C91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2255c9;
/* rgb */ color: rgb(34, 85, 201);
/* oklch */ color: oklch(49.0% 0.189 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b84da',
    500: '#2255c9',
    950: '#000000',
  },
}
SCSS
$custom: #2255c9;
$custom-light: #7b84da;
$custom-dark: #000000;
JSON
{
  "hex": "#2255c9",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 201
  },
  "hsl": {
    "h": 221.677,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.18879,
    "h": 263.2
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#2255C9
secondary
#D1B576
accent
#B73AEE
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2255C9

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

Preview Lab → · Contrast checker → · Palette generator →

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