#245AB2#245AB2

#245AB2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.151 H 259.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#245AB2
RGBrgb(36, 90, 178)
HSLhsl(217, 66%, 42%)
HSVhsv(217, 80%, 70%)
CMYKcmyk(79.8%, 49.4%, 0%, 30.2%)
CIE-LABlab(39.41, 14.86, -51.83)
CIE-LCHlch(39.41, 53.92, 286.00°)
OKLaboklab(48.25% -0.0267 -0.1491)
OKLCHoklch(48.25% 0.151 259.8)
XYZxyz(12.4167, 10.9003, 43.5604)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AB2 #B27C24
analogous
#24A1B2 #245AB2 #3524B2
triadic
#245AB2 #B2245A #5AB224
tetradic
#245AB2 #B224A1 #B27C24 #24B235
square
#245AB2 #B224A1 #B27C24 #24B235
split-complementary
#245AB2 #B23524 #A1B224
monochromatic
#0F274C #1A407F #245AB2 #3C77D8 #6F9AE2

Accessibility & contrast

On white

6.60
#245AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#245AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AB2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AB2#FFFFFF#000000##FFFFFF
##245AB21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #245ab2;
/* rgb */ color: rgb(36, 90, 178);
/* oklch */ color: oklch(48.2% 0.151 259.8);
Tailwind
colors: {
  custom: {
    50: '#7588ca',
    500: '#245ab2',
    950: '#000000',
  },
}
SCSS
$custom: #245ab2;
$custom-light: #7588ca;
$custom-dark: #000000;
JSON
{
  "hex": "#245ab2",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 217.183,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48247,
    "c": 0.15146,
    "h": 259.8
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#245AB2
secondary
#C8A469
accent
#A83FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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