#225787#225787

#225787 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.097 H 249.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#225787
RGBrgb(34, 87, 135)
HSLhsl(209, 60%, 33%)
HSVhsv(209, 75%, 53%)
CMYKcmyk(74.8%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.80, -0.21, -31.82)
CIE-LCHlch(35.80, 31.82, 269.61°)
OKLaboklab(44.57% -0.0346 -0.0904)
OKLCHoklch(44.57% 0.097 249)
XYZxyz(8.4394, 8.9048, 24.1910)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225787 #875222
analogous
#228784 #225787 #222487
triadic
#225787 #872257 #578722
tetradic
#225787 #842287 #875222 #248722
square
#225787 #842287 #875222 #248722
split-complementary
#225787 #872224 #878422
monochromatic
#091825 #163756 #225787 #2E77B8 #5095D3

Accessibility & contrast

On white

7.55
#225787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#225787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225787
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225787#FFFFFF#000000##FFFFFF
##2257871.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225787;
/* rgb */ color: rgb(34, 87, 135);
/* oklch */ color: oklch(44.6% 0.097 249.0);
Tailwind
colors: {
  custom: {
    50: '#6b86aa',
    500: '#225787',
    950: '#000000',
  },
}
SCSS
$custom: #225787;
$custom-light: #6b86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#225787",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 208.515,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.0968,
    "h": 249
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#225787
secondary
#B7804E
accent
#9045E3
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #225787

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

Preview Lab → · Contrast checker → · Palette generator →

#225787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva