#245199#245199

#245199 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.128 H 259.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#245199
RGBrgb(36, 81, 153)
HSLhsl(217, 62%, 37%)
HSVhsv(217, 76%, 60%)
CMYKcmyk(76.5%, 47.1%, 0%, 40%)
CIE-LABlab(35.12, 11.02, -43.84)
CIE-LCHlch(35.12, 45.20, 284.11°)
OKLaboklab(44.41% -0.0233 -0.1257)
OKLCHoklch(44.41% 0.128 259.5)
XYZxyz(9.4177, 8.5588, 31.2865)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245199 #996C24
analogous
#248C99 #245199 #312499
triadic
#245199 #992451 #519924
tetradic
#245199 #99248C #996C24 #249931
square
#245199 #99248C #996C24 #249931
split-complementary
#245199 #993124 #8C9924
monochromatic
#0D1D36 #183767 #245199 #306BCB #5E8ED9

Accessibility & contrast

On white

7.74
#245199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#245199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245199
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245199#FFFFFF#000000##FFFFFF
##2451991.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#0F4E98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245199;
/* rgb */ color: rgb(36, 81, 153);
/* oklch */ color: oklch(44.4% 0.128 259.5);
Tailwind
colors: {
  custom: {
    50: '#7081b7',
    500: '#245199',
    950: '#000000',
  },
}
SCSS
$custom: #245199;
$custom-light: #7081b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245199",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 216.923,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.12788,
    "h": 259.5
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#245199
secondary
#BE985B
accent
#A743E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #245199

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

Preview Lab → · Contrast checker → · Palette generator →

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