#245BA8#245BA8

#245BA8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.137 H 257.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#245BA8
RGBrgb(36, 91, 168)
HSLhsl(215, 65%, 40%)
HSVhsv(215, 79%, 66%)
CMYKcmyk(78.6%, 45.8%, 0%, 34.1%)
CIE-LABlab(39.04, 10.29, -46.52)
CIE-LCHlch(39.04, 47.64, 282.48°)
OKLaboklab(47.75% -0.0292 -0.1334)
OKLCHoklch(47.75% 0.137 257.6)
XYZxyz(11.5339, 10.6830, 38.4923)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245BA8 #A87124
analogous
#249DA8 #245BA8 #2F24A8
triadic
#245BA8 #A8245B #5BA824
tetradic
#245BA8 #A8249D #A87124 #24A82F
square
#245BA8 #A8249D #A87124 #24A82F
split-complementary
#245BA8 #A82F24 #9DA824
monochromatic
#0E2443 #194076 #245BA8 #3577D4 #6899DF

Accessibility & contrast

On white

6.69
#245BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#245BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245BA8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245BA8#FFFFFF#000000##FFFFFF
##245BA81.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AB
Deuteranopia (green-blind)
#1556A6
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #245ba8;
/* rgb */ color: rgb(36, 91, 168);
/* oklch */ color: oklch(47.8% 0.137 257.6);
Tailwind
colors: {
  custom: {
    50: '#7388c2',
    500: '#245ba8',
    950: '#000000',
  },
}
SCSS
$custom: #245ba8;
$custom-light: #7388c2;
$custom-dark: #000000;
JSON
{
  "hex": "#245ba8",
  "rgb": {
    "r": 36,
    "g": 91,
    "b": 168
  },
  "hsl": {
    "h": 215,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.13658,
    "h": 257.6
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#245BA8
secondary
#C49C63
accent
#A240E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #245BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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