#245087#245087

#245087 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.104 H 255.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#245087
RGBrgb(36, 80, 135)
HSLhsl(213, 58%, 34%)
HSVhsv(213, 73%, 53%)
CMYKcmyk(73.3%, 40.7%, 0%, 47.1%)
CIE-LABlab(33.69, 4.64, -35.16)
CIE-LCHlch(33.69, 35.47, 277.52°)
OKLaboklab(42.94% -0.0262 -0.1003)
OKLCHoklch(42.94% 0.104 255.4)
XYZxyz(7.9678, 7.8608, 24.0143)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245087 #875B24
analogous
#248187 #245087 #292487
triadic
#245087 #872450 #508724
tetradic
#245087 #872481 #875B24 #248729
square
#245087 #872481 #875B24 #248729
split-complementary
#245087 #872924 #818724
monochromatic
#0A1726 #173357 #245087 #316DB7 #548CD1

Accessibility & contrast

On white

8.16
#245087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#245087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245087
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245087#FFFFFF#000000##FFFFFF
##2450871.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#274B86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #245087;
/* rgb */ color: rgb(36, 80, 135);
/* oklch */ color: oklch(42.9% 0.104 255.4);
Tailwind
colors: {
  custom: {
    50: '#6c80aa',
    500: '#245087',
    950: '#000000',
  },
}
SCSS
$custom: #245087;
$custom-light: #6c80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#245087",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 213.333,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.10362,
    "h": 255.4
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#245087
secondary
#B58951
accent
#9C47E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #245087

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

Preview Lab → · Contrast checker → · Palette generator →

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