#245097#245097

#245097 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.126 H 259.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#245097
RGBrgb(36, 80, 151)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 76%, 59%)
CMYKcmyk(76.2%, 47%, 0%, 40.8%)
CIE-LABlab(34.69, 10.90, -43.32)
CIE-LCHlch(34.69, 44.67, 284.13°)
OKLaboklab(44.04% -0.0228 -0.1242)
OKLCHoklch(44.04% 0.126 259.6)
XYZxyz(9.1801, 8.3457, 30.3992)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245097 #976B24
analogous
#248A97 #245097 #312497
triadic
#245097 #972450 #509724
tetradic
#245097 #97248A #976B24 #249731
square
#245097 #97248A #976B24 #249731
split-complementary
#245097 #973124 #8A9724
monochromatic
#0C1C34 #183666 #245097 #306AC8 #5D8CD8

Accessibility & contrast

On white

7.87
#245097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#245097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245097
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245097#FFFFFF#000000##FFFFFF
##2450971.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#0F4D96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245097;
/* rgb */ color: rgb(36, 80, 151);
/* oklch */ color: oklch(44.0% 0.126 259.6);
Tailwind
colors: {
  custom: {
    50: '#6f80b6',
    500: '#245097',
    950: '#000000',
  },
}
SCSS
$custom: #245097;
$custom-light: #6f80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#245097",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 217.043,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44041,
    "c": 0.1263,
    "h": 259.6
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#245097
secondary
#BD975A
accent
#A743E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245097

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

Preview Lab → · Contrast checker → · Palette generator →

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