#245196#245196

#245196 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.2% C 0.124 H 258.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#245196
RGBrgb(36, 81, 150)
HSLhsl(216, 61%, 36%)
HSVhsv(216, 76%, 59%)
CMYKcmyk(76%, 46%, 0%, 41.2%)
CIE-LABlab(34.92, 9.84, -42.34)
CIE-LCHlch(34.92, 43.47, 283.09°)
OKLaboklab(44.2% -0.0239 -0.1213)
OKLCHoklch(44.2% 0.124 258.9)
XYZxyz(9.1730, 8.4609, 29.9979)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245196 #966924
analogous
#248A96 #245196 #302496
triadic
#245196 #962451 #519624
tetradic
#245196 #96248A #966924 #249630
square
#245196 #96248A #966924 #249630
split-complementary
#245196 #963024 #8A9624
monochromatic
#0C1C33 #183665 #245196 #306CC7 #5C8DD8

Accessibility & contrast

On white

7.80
#245196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#245196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245196
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245196#FFFFFF#000000##FFFFFF
##2451961.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5899
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245196;
/* rgb */ color: rgb(36, 81, 150);
/* oklch */ color: oklch(44.2% 0.124 258.9);
Tailwind
colors: {
  custom: {
    50: '#6f81b5',
    500: '#245196',
    950: '#000000',
  },
}
SCSS
$custom: #245196;
$custom-light: #6f81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#245196",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 216.316,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.12365,
    "h": 258.9
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#245196
secondary
#BD9559
accent
#A543E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245196

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

Preview Lab → · Contrast checker → · Palette generator →

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