#245789#245789

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

Color values

HEX#245789
RGBrgb(36, 87, 137)
HSLhsl(210, 58%, 34%)
HSVhsv(210, 74%, 54%)
CMYKcmyk(73.7%, 36.5%, 0%, 46.3%)
CIE-LABlab(35.98, 0.86, -32.76)
CIE-LCHlch(35.98, 32.77, 271.50°)
OKLaboklab(44.77% -0.0327 -0.0931)
OKLCHoklch(44.77% 0.099 250.6)
XYZxyz(8.6494, 8.9966, 24.9427)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245789 #895624
analogous
#248989 #245789 #242489
triadic
#245789 #892457 #578924
tetradic
#245789 #892489 #895624 #248924
square
#245789 #892489 #895624 #248924
split-complementary
#245789 #892424 #898924
monochromatic
#0B1928 #173859 #245789 #3176B9 #5594D2

Accessibility & contrast

On white

7.50
#245789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#245789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245789
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245789#FFFFFF#000000##FFFFFF
##2457891.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #245789;
/* rgb */ color: rgb(36, 87, 137);
/* oklch */ color: oklch(44.8% 0.099 250.6);
Tailwind
colors: {
  custom: {
    50: '#6c86ab',
    500: '#245789',
    950: '#000000',
  },
}
SCSS
$custom: #245789;
$custom-light: #6c86ab;
$custom-dark: #000000;
JSON
{
  "hex": "#245789",
  "rgb": {
    "r": 36,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 209.703,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.09869,
    "h": 250.6
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#245789
secondary
#B78452
accent
#9346E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #245789

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

Preview Lab → · Contrast checker → · Palette generator →

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