#2255B1#2255B1

#2255B1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.157 H 261.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2255B1
RGBrgb(34, 85, 177)
HSLhsl(219, 68%, 41%)
HSVhsv(219, 81%, 69%)
CMYKcmyk(80.8%, 52%, 0%, 30.6%)
CIE-LABlab(37.86, 17.56, -53.75)
CIE-LCHlch(37.86, 56.55, 288.10°)
OKLaboklab(47.02% -0.0243 -0.1549)
OKLCHoklch(47.02% 0.157 261.1)
XYZxyz(11.8411, 10.0100, 42.8945)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255B1 #B17E22
analogous
#229DB1 #2255B1 #3622B1
triadic
#2255B1 #B12255 #55B122
tetradic
#2255B1 #B1229D #B17E22 #22B136
square
#2255B1 #B1229D #B17E22 #22B136
split-complementary
#2255B1 #B13622 #9DB122
monochromatic
#0E244A #183C7E #2255B1 #3871D9 #6B96E3

Accessibility & contrast

On white

6.99
#2255B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2255B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2255B1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255B1#FFFFFF#000000##FFFFFF
##2255B11.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2255b1;
/* rgb */ color: rgb(34, 85, 177);
/* oklch */ color: oklch(47.0% 0.157 261.1);
Tailwind
colors: {
  custom: {
    50: '#7584c9',
    500: '#2255b1',
    950: '#000000',
  },
}
SCSS
$custom: #2255b1;
$custom-light: #7584c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2255b1",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 177
  },
  "hsl": {
    "h": 218.601,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.15676,
    "h": 261.1
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#2255B1
secondary
#C9A566
accent
#AD3DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2255B1

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

Preview Lab → · Contrast checker → · Palette generator →

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