#245895#245895

#245895 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.114 H 254.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#245895
RGBrgb(36, 88, 149)
HSLhsl(212, 61%, 36%)
HSVhsv(212, 76%, 58%)
CMYKcmyk(75.8%, 40.9%, 0%, 41.6%)
CIE-LABlab(36.97, 4.84, -38.46)
CIE-LCHlch(36.97, 38.76, 277.18°)
OKLaboklab(45.77% -0.0306 -0.1098)
OKLCHoklch(45.77% 0.114 254.4)
XYZxyz(9.6401, 9.5234, 29.7581)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245895 #956124
analogous
#249195 #245895 #282495
triadic
#245895 #952458 #589524
tetradic
#245895 #952491 #956124 #249528
square
#245895 #952491 #956124 #249528
split-complementary
#245895 #952824 #919524
monochromatic
#0C1E32 #183B64 #245895 #3075C6 #5C95D8

Accessibility & contrast

On white

7.23
#245895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#245895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245895
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245895#FFFFFF#000000##FFFFFF
##2458951.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D97
Deuteranopia (green-blind)
#295294
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #245895;
/* rgb */ color: rgb(36, 88, 149);
/* oklch */ color: oklch(45.8% 0.114 254.4);
Tailwind
colors: {
  custom: {
    50: '#6f86b4',
    500: '#245895',
    950: '#000000',
  },
}
SCSS
$custom: #245895;
$custom-light: #6f86b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245895",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 212.389,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.11397,
    "h": 254.4
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#245895
secondary
#BC8E59
accent
#9A44E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #245895

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

Preview Lab → · Contrast checker → · Palette generator →

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