#245197#245197

#245197 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.125 H 259.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#245197
RGBrgb(36, 81, 151)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 76%, 59%)
CMYKcmyk(76.2%, 46.4%, 0%, 40.8%)
CIE-LABlab(34.99, 10.24, -42.84)
CIE-LCHlch(34.99, 44.04, 283.44°)
OKLaboklab(44.27% -0.0237 -0.1228)
OKLCHoklch(44.27% 0.125 259.1)
XYZxyz(9.2539, 8.4933, 30.4238)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245197 #976A24
analogous
#248B97 #245197 #312497
triadic
#245197 #972451 #519724
tetradic
#245197 #97248B #976A24 #249731
square
#245197 #97248B #976A24 #249731
split-complementary
#245197 #973124 #8B9724
monochromatic
#0C1C34 #183666 #245197 #306CC8 #5D8DD8

Accessibility & contrast

On white

7.78
#245197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#245197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245197
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245197#FFFFFF#000000##FFFFFF
##2451971.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245197;
/* rgb */ color: rgb(36, 81, 151);
/* oklch */ color: oklch(44.3% 0.125 259.1);
Tailwind
colors: {
  custom: {
    50: '#6f81b6',
    500: '#245197',
    950: '#000000',
  },
}
SCSS
$custom: #245197;
$custom-light: #6f81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#245197",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 216.522,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4427,
    "c": 0.12505,
    "h": 259.1
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#245197
secondary
#BD965A
accent
#A543E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245197

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

Preview Lab → · Contrast checker → · Palette generator →

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