#245894#245894

#245894 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.113 H 254.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#245894
RGBrgb(36, 88, 148)
HSLhsl(212, 61%, 36%)
HSVhsv(212, 76%, 58%)
CMYKcmyk(75.7%, 40.5%, 0%, 42%)
CIE-LABlab(36.91, 4.46, -37.95)
CIE-LCHlch(36.91, 38.21, 276.70°)
OKLaboklab(45.7% -0.0308 -0.1083)
OKLCHoklch(45.7% 0.113 254.1)
XYZxyz(9.5606, 9.4916, 29.3394)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245894 #946024
analogous
#249094 #245894 #282494
triadic
#245894 #942458 #589424
tetradic
#245894 #942490 #946024 #249428
square
#245894 #942490 #946024 #249428
split-complementary
#245894 #942824 #909424
monochromatic
#0C1D32 #183B63 #245894 #3075C5 #5B95D7

Accessibility & contrast

On white

7.24
#245894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #245894
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245894#FFFFFF#000000##FFFFFF
##2458941.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C96
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #245894;
/* rgb */ color: rgb(36, 88, 148);
/* oklch */ color: oklch(45.7% 0.113 254.1);
Tailwind
colors: {
  custom: {
    50: '#6f86b4',
    500: '#245894',
    950: '#000000',
  },
}
SCSS
$custom: #245894;
$custom-light: #6f86b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245894",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 212.143,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.1126,
    "h": 254.1
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #245894

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

Preview Lab → · Contrast checker → · Palette generator →

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