#225987#225987

#225987 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.095 H 247.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#225987
RGBrgb(34, 89, 135)
HSLhsl(207, 60%, 33%)
HSVhsv(207, 75%, 53%)
CMYKcmyk(74.8%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.43, -1.49, -30.83)
CIE-LCHlch(36.43, 30.86, 267.24°)
OKLaboklab(45.07% -0.0367 -0.0875)
OKLCHoklch(45.07% 0.095 247.2)
XYZxyz(8.6036, 9.2331, 24.2457)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225987 #875022
analogous
#228782 #225987 #222687
triadic
#225987 #872259 #598722
tetradic
#225987 #822287 #875022 #268722
square
#225987 #822287 #875022 #268722
split-complementary
#225987 #872226 #878222
monochromatic
#091925 #163956 #225987 #2E79B8 #5098D3

Accessibility & contrast

On white

7.38
#225987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#225987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225987
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225987#FFFFFF#000000##FFFFFF
##2259871.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #225987;
/* rgb */ color: rgb(34, 89, 135);
/* oklch */ color: oklch(45.1% 0.095 247.2);
Tailwind
colors: {
  custom: {
    50: '#6b87aa',
    500: '#225987',
    950: '#000000',
  },
}
SCSS
$custom: #225987;
$custom-light: #6b87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#225987",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 207.327,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.09485,
    "h": 247.2
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#225987
secondary
#B77E4E
accent
#8D45E3
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #225987

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

Preview Lab → · Contrast checker → · Palette generator →

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