#245F87#245F87

#245F87 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.089 H 242.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#245F87
RGBrgb(36, 95, 135)
HSLhsl(204, 58%, 34%)
HSVhsv(204, 73%, 53%)
CMYKcmyk(73.3%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.39, -4.94, -27.74)
CIE-LCHlch(38.39, 28.18, 259.91°)
OKLaboklab(46.63% -0.0417 -0.0784)
OKLCHoklch(46.63% 0.089 242)
XYZxyz(9.1912, 10.3077, 24.4222)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245F87 #874C24
analogous
#24877D #245F87 #242D87
triadic
#245F87 #87245F #5F8724
tetradic
#245F87 #7D2487 #874C24 #2D8724
square
#245F87 #7D2487 #874C24 #2D8724
split-complementary
#245F87 #87242D #877D24
monochromatic
#0A1B26 #173D57 #245F87 #3181B7 #549FD1

Accessibility & contrast

On white

6.86
#245F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#245F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245F87
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245F87#FFFFFF#000000##FFFFFF
##245F871.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #245f87;
/* rgb */ color: rgb(36, 95, 135);
/* oklch */ color: oklch(46.6% 0.089 242.0);
Tailwind
colors: {
  custom: {
    50: '#6c8caa',
    500: '#245f87',
    950: '#000000',
  },
}
SCSS
$custom: #245f87;
$custom-light: #6c8caa;
$custom-dark: #000000;
JSON
{
  "hex": "#245f87",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 204.242,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.08877,
    "h": 242
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#245F87
secondary
#B57A51
accent
#8547E1
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #245F87

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

Preview Lab → · Contrast checker → · Palette generator →

#245F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva