#225789#225789

#225789 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.099 H 250.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#225789
RGBrgb(34, 87, 137)
HSLhsl(209, 60%, 34%)
HSVhsv(209, 75%, 54%)
CMYKcmyk(75.2%, 36.5%, 0%, 46.3%)
CIE-LABlab(35.91, 0.56, -32.87)
CIE-LCHlch(35.91, 32.87, 270.97°)
OKLaboklab(44.69% -0.0341 -0.0934)
OKLCHoklch(44.69% 0.099 250)
XYZxyz(8.5815, 8.9616, 24.9396)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225789 #895422
analogous
#228987 #225789 #222389
triadic
#225789 #892257 #578922
tetradic
#225789 #872289 #895422 #238922
square
#225789 #872289 #895422 #238922
split-complementary
#225789 #892223 #898722
monochromatic
#0A1927 #163858 #225789 #2E76BA #5195D4

Accessibility & contrast

On white

7.52
#225789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#225789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225789
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225789#FFFFFF#000000##FFFFFF
##2257891.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8B
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225789;
/* rgb */ color: rgb(34, 87, 137);
/* oklch */ color: oklch(44.7% 0.099 250.0);
Tailwind
colors: {
  custom: {
    50: '#6c86ab',
    500: '#225789',
    950: '#000000',
  },
}
SCSS
$custom: #225789;
$custom-light: #6c86ab;
$custom-dark: #000000;
JSON
{
  "hex": "#225789",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 209.126,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.09947,
    "h": 250
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#225789
secondary
#B8824F
accent
#9244E3
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #225789

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

Preview Lab → · Contrast checker → · Palette generator →

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