#245399#245399

#245399 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.125 H 258.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#245399
RGBrgb(36, 83, 153)
HSLhsl(216, 62%, 37%)
HSVhsv(216, 76%, 60%)
CMYKcmyk(76.5%, 45.8%, 0%, 40%)
CIE-LABlab(35.71, 9.69, -42.88)
CIE-LCHlch(35.71, 43.97, 282.73°)
OKLaboklab(44.87% -0.0251 -0.1229)
OKLCHoklch(44.87% 0.125 258.5)
XYZxyz(9.5685, 8.8604, 31.3368)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245399 #996A24
analogous
#248E99 #245399 #2F2499
triadic
#245399 #992453 #539924
tetradic
#245399 #99248E #996A24 #24992F
square
#245399 #99248E #996A24 #24992F
split-complementary
#245399 #992F24 #8E9924
monochromatic
#0D1D36 #183867 #245399 #306ECB #5E90D9

Accessibility & contrast

On white

7.58
#245399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#245399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245399
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245399#FFFFFF#000000##FFFFFF
##2453991.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#174F98
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #245399;
/* rgb */ color: rgb(36, 83, 153);
/* oklch */ color: oklch(44.9% 0.125 258.5);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#245399',
    950: '#000000',
  },
}
SCSS
$custom: #245399;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245399",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 153
  },
  "hsl": {
    "h": 215.897,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.12543,
    "h": 258.5
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#245399
secondary
#BE965B
accent
#A443E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #245399

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

Preview Lab → · Contrast checker → · Palette generator →

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