#245396#245396

#245396 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.7% C 0.121 H 257.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#245396
RGBrgb(36, 83, 150)
HSLhsl(215, 61%, 36%)
HSVhsv(215, 76%, 59%)
CMYKcmyk(76%, 44.7%, 0%, 41.2%)
CIE-LABlab(35.52, 8.52, -41.38)
CIE-LCHlch(35.52, 42.25, 281.63°)
OKLaboklab(44.66% -0.0257 -0.1185)
OKLCHoklch(44.66% 0.121 257.8)
XYZxyz(9.3238, 8.7625, 30.0482)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245396 #966724
analogous
#248C96 #245396 #2E2496
triadic
#245396 #962453 #539624
tetradic
#245396 #96248C #966724 #24962E
square
#245396 #96248C #966724 #24962E
split-complementary
#245396 #962E24 #8C9624
monochromatic
#0C1C33 #183865 #245396 #306EC7 #5C8FD8

Accessibility & contrast

On white

7.63
#245396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#245396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245396
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245396#FFFFFF#000000##FFFFFF
##2453961.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #245396;
/* rgb */ color: rgb(36, 83, 150);
/* oklch */ color: oklch(44.7% 0.121 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f82b5',
    500: '#245396',
    950: '#000000',
  },
}
SCSS
$custom: #245396;
$custom-light: #6f82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#245396",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 215.263,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.12122,
    "h": 257.8
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#245396
secondary
#BD9459
accent
#A243E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245396

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

Preview Lab → · Contrast checker → · Palette generator →

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