#245398#245398

#245398 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.124 H 258.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#245398
RGBrgb(36, 83, 152)
HSLhsl(216, 62%, 37%)
HSVhsv(216, 76%, 60%)
CMYKcmyk(76.3%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.65, 9.30, -42.38)
CIE-LCHlch(35.65, 43.39, 282.38°)
OKLaboklab(44.8% -0.0253 -0.1214)
OKLCHoklch(44.8% 0.124 258.2)
XYZxyz(9.4862, 8.8275, 30.9036)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245398 #986924
analogous
#248D98 #245398 #2F2498
triadic
#245398 #982453 #539824
tetradic
#245398 #98248D #986924 #24982F
square
#245398 #98248D #986924 #24982F
split-complementary
#245398 #982F24 #8D9824
monochromatic
#0D1D35 #183867 #245398 #306EC9 #5E90D9

Accessibility & contrast

On white

7.59
#245398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#245398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245398
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245398#FFFFFF#000000##FFFFFF
##2453981.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#184F97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #245398;
/* rgb */ color: rgb(36, 83, 152);
/* oklch */ color: oklch(44.8% 0.124 258.2);
Tailwind
colors: {
  custom: {
    50: '#7082b7',
    500: '#245398',
    950: '#000000',
  },
}
SCSS
$custom: #245398;
$custom-light: #7082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245398",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 215.69,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.448,
    "c": 0.12403,
    "h": 258.2
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#245398
secondary
#BE955A
accent
#A343E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245398

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

Preview Lab → · Contrast checker → · Palette generator →

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