#245AB0#245AB0

#245AB0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.149 H 259.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#245AB0
RGBrgb(36, 90, 176)
HSLhsl(217, 66%, 42%)
HSVhsv(217, 80%, 69%)
CMYKcmyk(79.5%, 48.9%, 0%, 31%)
CIE-LABlab(39.28, 14.08, -50.87)
CIE-LCHlch(39.28, 52.78, 285.47°)
OKLaboklab(48.1% -0.027 -0.1462)
OKLCHoklch(48.1% 0.149 259.5)
XYZxyz(12.2173, 10.8205, 42.5105)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AB0 #B07A24
analogous
#24A0B0 #245AB0 #3424B0
triadic
#245AB0 #B0245A #5AB024
tetradic
#245AB0 #B024A0 #B07A24 #24B034
square
#245AB0 #B024A0 #B07A24 #24B034
split-complementary
#245AB0 #B03424 #A0B024
monochromatic
#0F264A #1A407D #245AB0 #3A77D7 #6D9AE1

Accessibility & contrast

On white

6.64
#245AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#245AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AB0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AB0#FFFFFF#000000##FFFFFF
##245AB01.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B3
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #245ab0;
/* rgb */ color: rgb(36, 90, 176);
/* oklch */ color: oklch(48.1% 0.149 259.5);
Tailwind
colors: {
  custom: {
    50: '#7588c8',
    500: '#245ab0',
    950: '#000000',
  },
}
SCSS
$custom: #245ab0;
$custom-light: #7588c8;
$custom-dark: #000000;
JSON
{
  "hex": "#245ab0",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 216.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.481,
    "c": 0.14873,
    "h": 259.5
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#245AB0
secondary
#C8A368
accent
#A73FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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