#253DB1#253DB1

#253DB1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.185 H 267.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#253DB1
RGBrgb(37, 61, 177)
HSLhsl(230, 65%, 42%)
HSVhsv(230, 79%, 69%)
CMYKcmyk(79.1%, 65.5%, 0%, 30.6%)
CIE-LABlab(31.59, 33.76, -63.97)
CIE-LCHlch(31.59, 72.33, 297.82°)
OKLaboklab(42.35% -0.0066 -0.1852)
OKLCHoklch(42.35% 0.185 267.9)
XYZxyz(10.3647, 6.9039, 42.3728)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253DB1 #B19925
analogous
#2583B1 #253DB1 #5325B1
triadic
#253DB1 #B1253D #3DB125
tetradic
#253DB1 #B12583 #B19925 #25B153
square
#253DB1 #B12583 #B19925 #25B153
split-complementary
#253DB1 #B15325 #83B125
monochromatic
#101A4C #1A2C7E #253DB1 #3D57D6 #6F83E1

Accessibility & contrast

On white

8.82
#253DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#253DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253DB1
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253DB1#FFFFFF#000000##FFFFFF
##253DB11.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #253db1;
/* rgb */ color: rgb(37, 61, 177);
/* oklch */ color: oklch(42.4% 0.185 267.9);
Tailwind
colors: {
  custom: {
    50: '#7772c9',
    500: '#253db1',
    950: '#000000',
  },
}
SCSS
$custom: #253db1;
$custom-light: #7772c9;
$custom-dark: #000000;
JSON
{
  "hex": "#253db1",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 229.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.18528,
    "h": 267.9
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#253DB1
secondary
#C8B86A
accent
#CB3FE8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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