#245188#245188

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

Color values

HEX#245188
RGBrgb(36, 81, 136)
HSLhsl(213, 58%, 34%)
HSVhsv(213, 74%, 53%)
CMYKcmyk(73.5%, 40.4%, 0%, 46.7%)
CIE-LABlab(34.06, 4.37, -35.19)
CIE-LCHlch(34.06, 35.46, 277.08°)
OKLaboklab(43.25% -0.0269 -0.1003)
OKLCHoklch(43.25% 0.104 255)
XYZxyz(8.1123, 8.0366, 24.4115)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245188 #885B24
analogous
#248388 #245188 #292488
triadic
#245188 #882451 #518824
tetradic
#245188 #882483 #885B24 #248829
square
#245188 #882483 #885B24 #248829
split-complementary
#245188 #882924 #838824
monochromatic
#0A1727 #173458 #245188 #316EB8 #558DD2

Accessibility & contrast

On white

8.05
#245188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#245188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245188
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245188#FFFFFF#000000##FFFFFF
##2451881.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#284C87
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #245188;
/* rgb */ color: rgb(36, 81, 136);
/* oklch */ color: oklch(43.2% 0.104 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c81ab',
    500: '#245188',
    950: '#000000',
  },
}
SCSS
$custom: #245188;
$custom-light: #6c81ab;
$custom-dark: #000000;
JSON
{
  "hex": "#245188",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 213,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.10388,
    "h": 255
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#245188
secondary
#B68952
accent
#9C46E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #245188

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

Preview Lab → · Contrast checker → · Palette generator →

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