#245AB4#245AB4

#245AB4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.154 H 260.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#245AB4
RGBrgb(36, 90, 180)
HSLhsl(218, 67%, 42%)
HSVhsv(218, 80%, 71%)
CMYKcmyk(80%, 50%, 0%, 29.4%)
CIE-LABlab(39.55, 15.64, -52.79)
CIE-LCHlch(39.55, 55.06, 286.50°)
OKLaboklab(48.4% -0.0264 -0.1519)
OKLCHoklch(48.4% 0.154 260.1)
XYZxyz(12.6189, 10.9812, 44.6257)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AB4 #B47E24
analogous
#24A2B4 #245AB4 #3624B4
triadic
#245AB4 #B4245A #5AB424
tetradic
#245AB4 #B424A2 #B47E24 #24B436
square
#245AB4 #B424A2 #B47E24 #24B436
split-complementary
#245AB4 #B43624 #A2B424
monochromatic
#10274E #1A4181 #245AB4 #3D77D8 #709BE2

Accessibility & contrast

On white

6.57
#245AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#245AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AB4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AB4#FFFFFF#000000##FFFFFF
##245AB41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #245ab4;
/* rgb */ color: rgb(36, 90, 180);
/* oklch */ color: oklch(48.4% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#7688cb',
    500: '#245ab4',
    950: '#000000',
  },
}
SCSS
$custom: #245ab4;
$custom-light: #7688cb;
$custom-dark: #000000;
JSON
{
  "hex": "#245ab4",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 217.5,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.15417,
    "h": 260.1
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#245AB4
secondary
#C9A66B
accent
#A93EEA
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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