#245DB1#245DB1

#245DB1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.146 H 258.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#245DB1
RGBrgb(36, 93, 177)
HSLhsl(216, 66%, 42%)
HSVhsv(216, 80%, 69%)
CMYKcmyk(79.7%, 47.5%, 0%, 30.6%)
CIE-LABlab(40.21, 12.50, -49.96)
CIE-LCHlch(40.21, 51.50, 284.05°)
OKLaboklab(48.84% -0.0293 -0.1435)
OKLCHoklch(48.84% 0.146 258.5)
XYZxyz(12.5748, 11.3766, 43.1196)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245DB1 #B17824
analogous
#24A4B1 #245DB1 #3224B1
triadic
#245DB1 #B1245D #5DB124
tetradic
#245DB1 #B124A4 #B17824 #24B132
square
#245DB1 #B124A4 #B17824 #24B132
split-complementary
#245DB1 #B13224 #A4B124
monochromatic
#0F284B #1A427E #245DB1 #3B7AD7 #6E9DE1

Accessibility & contrast

On white

6.41
#245DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#245DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245DB1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245DB1#FFFFFF#000000##FFFFFF
##245DB11.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#0259AF
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #245db1;
/* rgb */ color: rgb(36, 93, 177);
/* oklch */ color: oklch(48.8% 0.146 258.5);
Tailwind
colors: {
  custom: {
    50: '#758ac9',
    500: '#245db1',
    950: '#000000',
  },
}
SCSS
$custom: #245db1;
$custom-light: #758ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#245db1",
  "rgb": {
    "r": 36,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 215.745,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48837,
    "c": 0.14646,
    "h": 258.5
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#245DB1
secondary
#C8A269
accent
#A43FE9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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