#245299#245299

#245299 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.127 H 259.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#245299
RGBrgb(36, 82, 153)
HSLhsl(216, 62%, 37%)
HSVhsv(216, 76%, 60%)
CMYKcmyk(76.5%, 46.4%, 0%, 40%)
CIE-LABlab(35.42, 10.36, -43.36)
CIE-LCHlch(35.42, 44.58, 283.43°)
OKLaboklab(44.64% -0.0242 -0.1243)
OKLCHoklch(44.64% 0.127 259)
XYZxyz(9.4925, 8.7085, 31.3114)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245299 #996B24
analogous
#248D99 #245299 #302499
triadic
#245299 #992452 #529924
tetradic
#245299 #99248D #996B24 #249930
square
#245299 #99248D #996B24 #249930
split-complementary
#245299 #993024 #8D9924
monochromatic
#0D1D36 #183767 #245299 #306DCB #5E8FD9

Accessibility & contrast

On white

7.66
#245299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#245299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245299
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245299#FFFFFF#000000##FFFFFF
##2452991.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#134E98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #245299;
/* rgb */ color: rgb(36, 82, 153);
/* oklch */ color: oklch(44.6% 0.127 259.0);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#245299',
    950: '#000000',
  },
}
SCSS
$custom: #245299;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245299",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 216.41,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.12665,
    "h": 259
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#245299
secondary
#BE975B
accent
#A543E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #245299

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

Preview Lab → · Contrast checker → · Palette generator →

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