#2255A9#2255A9

#2255A9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.146 H 260.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2255A9
RGBrgb(34, 85, 169)
HSLhsl(217, 67%, 40%)
HSVhsv(217, 80%, 66%)
CMYKcmyk(79.9%, 49.7%, 0%, 33.7%)
CIE-LABlab(37.30, 14.42, -49.92)
CIE-LCHlch(37.30, 51.96, 286.11°)
OKLaboklab(46.41% -0.0254 -0.1436)
OKLCHoklch(46.41% 0.146 260)
XYZxyz(11.0670, 9.7003, 38.8175)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255A9 #A97622
analogous
#2299A9 #2255A9 #3222A9
triadic
#2255A9 #A92255 #55A922
tetradic
#2255A9 #A92299 #A97622 #22A932
square
#2255A9 #A92299 #A97622 #22A932
split-complementary
#2255A9 #A93222 #99A922
monochromatic
#0D2243 #183B76 #2255A9 #3270D6 #6594E0

Accessibility & contrast

On white

7.14
#2255A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2255A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2255A9
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255A9#FFFFFF#000000##FFFFFF
##2255A91.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235EAC
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2255a9;
/* rgb */ color: rgb(34, 85, 169);
/* oklch */ color: oklch(46.4% 0.146 260.0);
Tailwind
colors: {
  custom: {
    50: '#7384c3',
    500: '#2255a9',
    950: '#000000',
  },
}
SCSS
$custom: #2255a9;
$custom-light: #7384c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2255a9",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 169
  },
  "hsl": {
    "h": 217.333,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.14581,
    "h": 260
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#2255A9
secondary
#C5A061
accent
#A93EE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2255A9

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

Preview Lab → · Contrast checker → · Palette generator →

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