#245AA6#245AA6

#245AA6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.135 H 257.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#245AA6
RGBrgb(36, 90, 166)
HSLhsl(215, 64%, 40%)
HSVhsv(215, 78%, 65%)
CMYKcmyk(78.3%, 45.8%, 0%, 34.9%)
CIE-LABlab(38.62, 10.17, -46.01)
CIE-LCHlch(38.62, 47.12, 282.46°)
OKLaboklab(47.38% -0.0287 -0.1319)
OKLCHoklch(47.38% 0.135 257.7)
XYZxyz(11.2641, 10.4393, 37.4903)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AA6 #A67024
analogous
#249BA6 #245AA6 #2F24A6
triadic
#245AA6 #A6245A #5AA624
tetradic
#245AA6 #A6249B #A67024 #24A62F
square
#245AA6 #A6249B #A67024 #24A62F
split-complementary
#245AA6 #A62F24 #9BA624
monochromatic
#0E2341 #193F74 #245AA6 #3476D3 #6698DE

Accessibility & contrast

On white

6.80
#245AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#245AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AA6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AA6#FFFFFF#000000##FFFFFF
##245AA61.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#1555A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #245aa6;
/* rgb */ color: rgb(36, 90, 166);
/* oklch */ color: oklch(47.4% 0.135 257.7);
Tailwind
colors: {
  custom: {
    50: '#7388c1',
    500: '#245aa6',
    950: '#000000',
  },
}
SCSS
$custom: #245aa6;
$custom-light: #7388c1;
$custom-dark: #000000;
JSON
{
  "hex": "#245aa6",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 215.077,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47383,
    "c": 0.13503,
    "h": 257.7
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#245AA6
secondary
#C49B62
accent
#A240E7
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #245AA6

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

Preview Lab → · Contrast checker → · Palette generator →

#245AA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva