#245EB1#245EB1

#245EB1 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.145 H 258.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#245EB1
RGBrgb(36, 94, 177)
HSLhsl(215, 66%, 42%)
HSVhsv(215, 80%, 69%)
CMYKcmyk(79.7%, 46.9%, 0%, 30.6%)
CIE-LABlab(40.50, 11.85, -49.50)
CIE-LCHlch(40.50, 50.89, 283.46°)
OKLaboklab(49.06% -0.0301 -0.1421)
OKLCHoklch(49.06% 0.145 258.1)
XYZxyz(12.6632, 11.5533, 43.1491)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245EB1 #B17724
analogous
#24A5B1 #245EB1 #3124B1
triadic
#245EB1 #B1245E #5EB124
tetradic
#245EB1 #B124A5 #B17724 #24B131
square
#245EB1 #B124A5 #B17724 #24B131
split-complementary
#245EB1 #B13124 #A5B124
monochromatic
#0F284B #1A437E #245EB1 #3B7BD7 #6E9DE1

Accessibility & contrast

On white

6.34
#245EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#245EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245EB1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245EB1#FFFFFF#000000##FFFFFF
##245EB11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B4
Deuteranopia (green-blind)
#0959AF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #245eb1;
/* rgb */ color: rgb(36, 94, 177);
/* oklch */ color: oklch(49.1% 0.145 258.1);
Tailwind
colors: {
  custom: {
    50: '#758bc9',
    500: '#245eb1',
    950: '#000000',
  },
}
SCSS
$custom: #245eb1;
$custom-light: #758bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#245eb1",
  "rgb": {
    "r": 36,
    "g": 94,
    "b": 177
  },
  "hsl": {
    "h": 215.319,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.14526,
    "h": 258.1
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#245EB1
secondary
#C8A169
accent
#A33FE9
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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