#225A8F#225A8F

#225A8F is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.104 H 250.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#225A8F
RGBrgb(34, 90, 143)
HSLhsl(209, 62%, 35%)
HSVhsv(209, 76%, 56%)
CMYKcmyk(76.2%, 37.1%, 0%, 43.9%)
CIE-LABlab(37.18, 0.95, -34.51)
CIE-LCHlch(37.18, 34.52, 271.58°)
OKLaboklab(45.8% -0.0354 -0.0982)
OKLCHoklch(45.8% 0.104 250.2)
XYZxyz(9.2719, 9.6345, 27.3523)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A8F #8F5722
analogous
#228F8D #225A8F #22248F
triadic
#225A8F #8F225A #5A8F22
tetradic
#225A8F #8D228F #8F5722 #248F22
square
#225A8F #8D228F #8F5722 #248F22
split-complementary
#225A8F #8F2224 #8F8D22
monochromatic
#0A1C2C #163B5E #225A8F #2E79C0 #5597D7

Accessibility & contrast

On white

7.17
#225A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#225A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A8F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A8F#FFFFFF#000000##FFFFFF
##225A8F1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D91
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #225a8f;
/* rgb */ color: rgb(34, 90, 143);
/* oklch */ color: oklch(45.8% 0.104 250.2);
Tailwind
colors: {
  custom: {
    50: '#6d88b0',
    500: '#225a8f',
    950: '#000000',
  },
}
SCSS
$custom: #225a8f;
$custom-light: #6d88b0;
$custom-dark: #000000;
JSON
{
  "hex": "#225a8f",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 209.174,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.10437,
    "h": 250.2
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#225A8F
secondary
#BA8552
accent
#9243E5
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #225A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#225A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva