#245989#245989

#245989 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.097 H 248.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#245989
RGBrgb(36, 89, 137)
HSLhsl(209, 58%, 34%)
HSVhsv(209, 74%, 54%)
CMYKcmyk(73.7%, 35%, 0%, 46.3%)
CIE-LABlab(36.60, -0.42, -31.77)
CIE-LCHlch(36.60, 31.77, 269.24°)
OKLaboklab(45.26% -0.0348 -0.0902)
OKLCHoklch(45.26% 0.097 248.9)
XYZxyz(8.8136, 9.3250, 24.9975)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245989 #895424
analogous
#248987 #245989 #242689
triadic
#245989 #892459 #598924
tetradic
#245989 #872489 #895424 #268924
square
#245989 #872489 #895424 #268924
split-complementary
#245989 #892426 #898724
monochromatic
#0B1A28 #173A59 #245989 #3178B9 #5597D2

Accessibility & contrast

On white

7.33
#245989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#245989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245989
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245989#FFFFFF#000000##FFFFFF
##2459891.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B8B
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #245989;
/* rgb */ color: rgb(36, 89, 137);
/* oklch */ color: oklch(45.3% 0.097 248.9);
Tailwind
colors: {
  custom: {
    50: '#6c87ab',
    500: '#245989',
    950: '#000000',
  },
}
SCSS
$custom: #245989;
$custom-light: #6c87ab;
$custom-dark: #000000;
JSON
{
  "hex": "#245989",
  "rgb": {
    "r": 36,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 208.515,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45256,
    "c": 0.09667,
    "h": 248.9
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#245989
secondary
#B78252
accent
#9046E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #245989

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

Preview Lab → · Contrast checker → · Palette generator →

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