#245AA8#245AA8

#245AA8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.138 H 258.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#245AA8
RGBrgb(36, 90, 168)
HSLhsl(215, 65%, 40%)
HSVhsv(215, 79%, 66%)
CMYKcmyk(78.6%, 46.4%, 0%, 34.1%)
CIE-LABlab(38.75, 10.95, -46.99)
CIE-LCHlch(38.75, 48.25, 283.12°)
OKLaboklab(47.52% -0.0284 -0.1348)
OKLCHoklch(47.52% 0.138 258.1)
XYZxyz(11.4490, 10.5132, 38.4640)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AA8 #A87224
analogous
#249CA8 #245AA8 #3024A8
triadic
#245AA8 #A8245A #5AA824
tetradic
#245AA8 #A8249C #A87224 #24A830
square
#245AA8 #A8249C #A87224 #24A830
split-complementary
#245AA8 #A83024 #9CA824
monochromatic
#0E2443 #193F76 #245AA8 #3576D4 #6898DF

Accessibility & contrast

On white

6.77
#245AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#245AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AA8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AA8#FFFFFF#000000##FFFFFF
##245AA81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AB
Deuteranopia (green-blind)
#1056A6
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #245aa8;
/* rgb */ color: rgb(36, 90, 168);
/* oklch */ color: oklch(47.5% 0.138 258.1);
Tailwind
colors: {
  custom: {
    50: '#7388c2',
    500: '#245aa8',
    950: '#000000',
  },
}
SCSS
$custom: #245aa8;
$custom-light: #7388c2;
$custom-dark: #000000;
JSON
{
  "hex": "#245aa8",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 215.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.47524,
    "c": 0.13778,
    "h": 258.1
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#245AA8
secondary
#C49D63
accent
#A340E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #245AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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