#245296#245296

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

Color values

HEX#245296
RGBrgb(36, 82, 150)
HSLhsl(216, 61%, 36%)
HSVhsv(216, 76%, 59%)
CMYKcmyk(76%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.22, 9.18, -41.86)
CIE-LCHlch(35.22, 42.85, 282.37°)
OKLaboklab(44.43% -0.0248 -0.1199)
OKLCHoklch(44.43% 0.122 258.3)
XYZxyz(9.2479, 8.6106, 30.0229)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245296 #966824
analogous
#248B96 #245296 #2F2496
triadic
#245296 #962452 #529624
tetradic
#245296 #96248B #966824 #24962F
square
#245296 #96248B #966824 #24962F
split-complementary
#245296 #962F24 #8B9624
monochromatic
#0C1C33 #183765 #245296 #306DC7 #5C8ED8

Accessibility & contrast

On white

7.71
#245296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#245296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245296
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245296#FFFFFF#000000##FFFFFF
##2452961.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305899
Deuteranopia (green-blind)
#194E95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245296;
/* rgb */ color: rgb(36, 82, 150);
/* oklch */ color: oklch(44.4% 0.122 258.3);
Tailwind
colors: {
  custom: {
    50: '#6f82b5',
    500: '#245296',
    950: '#000000',
  },
}
SCSS
$custom: #245296;
$custom-light: #6f82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#245296",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 215.789,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.12243,
    "h": 258.3
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #245296

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

Preview Lab → · Contrast checker → · Palette generator →

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