#245A87#245A87

#245A87 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.093 H 247.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#245A87
RGBrgb(36, 90, 135)
HSLhsl(207, 58%, 34%)
HSVhsv(207, 73%, 53%)
CMYKcmyk(73.3%, 33.3%, 0%, 47.1%)
CIE-LABlab(36.81, -1.82, -30.22)
CIE-LCHlch(36.81, 30.28, 266.56°)
OKLaboklab(45.38% -0.0364 -0.0857)
OKLCHoklch(45.38% 0.093 247)
XYZxyz(8.7552, 9.4357, 24.2768)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A87 #875124
analogous
#248782 #245A87 #242887
triadic
#245A87 #87245A #5A8724
tetradic
#245A87 #822487 #875124 #288724
square
#245A87 #822487 #875124 #288724
split-complementary
#245A87 #872428 #878224
monochromatic
#0A1A26 #173A57 #245A87 #317AB7 #5498D1

Accessibility & contrast

On white

7.27
#245A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#245A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245A87
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A87#FFFFFF#000000##FFFFFF
##245A871.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C89
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #245a87;
/* rgb */ color: rgb(36, 90, 135);
/* oklch */ color: oklch(45.4% 0.093 247.0);
Tailwind
colors: {
  custom: {
    50: '#6c88aa',
    500: '#245a87',
    950: '#000000',
  },
}
SCSS
$custom: #245a87;
$custom-light: #6c88aa;
$custom-dark: #000000;
JSON
{
  "hex": "#245a87",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 135
  },
  "hsl": {
    "h": 207.273,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.09309,
    "h": 247
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#245A87
secondary
#B57F51
accent
#8D47E1
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #245A87

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

Preview Lab → · Contrast checker → · Palette generator →

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