#245287#245287

#245287 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.101 H 253.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#245287
RGBrgb(36, 82, 135)
HSLhsl(212, 58%, 34%)
HSVhsv(212, 73%, 53%)
CMYKcmyk(73.3%, 39.3%, 0%, 47.1%)
CIE-LABlab(34.31, 3.33, -34.18)
CIE-LCHlch(34.31, 34.34, 275.56°)
OKLaboklab(43.42% -0.0282 -0.0973)
OKLCHoklch(43.42% 0.101 253.8)
XYZxyz(8.1164, 8.1580, 24.0639)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245287 #875924
analogous
#248387 #245287 #272487
triadic
#245287 #872452 #528724
tetradic
#245287 #872483 #875924 #248727
square
#245287 #872483 #875924 #248727
split-complementary
#245287 #872724 #838724
monochromatic
#0A1726 #173557 #245287 #316FB7 #548ED1

Accessibility & contrast

On white

7.98
#245287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#245287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245287
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245287#FFFFFF#000000##FFFFFF
##2452871.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#2B4C86
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245287;
/* rgb */ color: rgb(36, 82, 135);
/* oklch */ color: oklch(43.4% 0.101 253.8);
Tailwind
colors: {
  custom: {
    50: '#6c82aa',
    500: '#245287',
    950: '#000000',
  },
}
SCSS
$custom: #245287;
$custom-light: #6c82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#245287",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 212.121,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43424,
    "c": 0.10135,
    "h": 253.8
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#245287
secondary
#B58751
accent
#9947E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #245287

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

Preview Lab → · Contrast checker → · Palette generator →

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