#245187#245187

#245187 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.102 H 254.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#245187
RGBrgb(36, 81, 135)
HSLhsl(213, 58%, 34%)
HSVhsv(213, 73%, 53%)
CMYKcmyk(73.3%, 40%, 0%, 47.1%)
CIE-LABlab(34.00, 3.98, -34.67)
CIE-LCHlch(34.00, 34.90, 276.55°)
OKLaboklab(43.18% -0.0272 -0.0988)
OKLCHoklch(43.18% 0.102 254.6)
XYZxyz(8.0415, 8.0083, 24.0389)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245187 #875A24
analogous
#248287 #245187 #282487
triadic
#245187 #872451 #518724
tetradic
#245187 #872482 #875A24 #248728
square
#245187 #872482 #875A24 #248728
split-complementary
#245187 #872824 #828724
monochromatic
#0A1726 #173457 #245187 #316EB7 #548DD1

Accessibility & contrast

On white

8.07
#245187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#245187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245187
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245187#FFFFFF#000000##FFFFFF
##2451871.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#294C86
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #245187;
/* rgb */ color: rgb(36, 81, 135);
/* oklch */ color: oklch(43.2% 0.102 254.6);
Tailwind
colors: {
  custom: {
    50: '#6c81aa',
    500: '#245187',
    950: '#000000',
  },
}
SCSS
$custom: #245187;
$custom-light: #6c81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#245187",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 212.727,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.10248,
    "h": 254.6
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#245187
secondary
#B58851
accent
#9B47E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #245187

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

Preview Lab → · Contrast checker → · Palette generator →

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