#245AB1#245AB1

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

Color values

HEX#245AB1
RGBrgb(36, 90, 177)
HSLhsl(217, 66%, 42%)
HSVhsv(217, 80%, 69%)
CMYKcmyk(79.7%, 49.2%, 0%, 30.6%)
CIE-LABlab(39.34, 14.47, -51.35)
CIE-LCHlch(39.34, 53.35, 285.73°)
OKLaboklab(48.17% -0.0269 -0.1477)
OKLCHoklch(48.17% 0.15 259.7)
XYZxyz(12.3166, 10.8603, 43.0335)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AB1 #B17B24
analogous
#24A1B1 #245AB1 #3424B1
triadic
#245AB1 #B1245A #5AB124
tetradic
#245AB1 #B124A1 #B17B24 #24B134
square
#245AB1 #B124A1 #B17B24 #24B134
split-complementary
#245AB1 #B13424 #A1B124
monochromatic
#0F264B #1A407E #245AB1 #3B77D7 #6E9AE1

Accessibility & contrast

On white

6.62
#245AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#245AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AB1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AB1#FFFFFF#000000##FFFFFF
##245AB11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #245ab1;
/* rgb */ color: rgb(36, 90, 177);
/* oklch */ color: oklch(48.2% 0.150 259.7);
Tailwind
colors: {
  custom: {
    50: '#7588c9',
    500: '#245ab1',
    950: '#000000',
  },
}
SCSS
$custom: #245ab1;
$custom-light: #7588c9;
$custom-dark: #000000;
JSON
{
  "hex": "#245ab1",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 217.021,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48173,
    "c": 0.1501,
    "h": 259.7
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #245AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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