#245498#245498

#245498 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.0% C 0.123 H 257.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#245498
RGBrgb(36, 84, 152)
HSLhsl(215, 62%, 37%)
HSVhsv(215, 76%, 60%)
CMYKcmyk(76.3%, 44.7%, 0%, 40.4%)
CIE-LABlab(35.95, 8.64, -41.91)
CIE-LCHlch(35.95, 42.79, 281.65°)
OKLaboklab(45.03% -0.0262 -0.12)
OKLCHoklch(45.03% 0.123 257.7)
XYZxyz(9.5633, 8.9816, 30.9293)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245498 #986824
analogous
#248E98 #245498 #2E2498
triadic
#245498 #982454 #549824
tetradic
#245498 #98248E #986824 #24982E
square
#245498 #98248E #986824 #24982E
split-complementary
#245498 #982E24 #8E9824
monochromatic
#0D1D35 #183967 #245498 #306FC9 #5E91D9

Accessibility & contrast

On white

7.51
#245498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#245498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245498
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245498#FFFFFF#000000##FFFFFF
##2454981.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #245498;
/* rgb */ color: rgb(36, 84, 152);
/* oklch */ color: oklch(45.0% 0.123 257.7);
Tailwind
colors: {
  custom: {
    50: '#7083b7',
    500: '#245498',
    950: '#000000',
  },
}
SCSS
$custom: #245498;
$custom-light: #7083b7;
$custom-dark: #000000;
JSON
{
  "hex": "#245498",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 215.172,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.12282,
    "h": 257.7
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#245498
secondary
#BE945A
accent
#A243E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245498

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

Preview Lab → · Contrast checker → · Palette generator →

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