#253EB1#253EB1

#253EB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.184 H 267.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#253EB1
RGBrgb(37, 62, 177)
HSLhsl(229, 65%, 42%)
HSVhsv(229, 79%, 69%)
CMYKcmyk(79.1%, 65%, 0%, 30.6%)
CIE-LABlab(31.83, 33.11, -63.57)
CIE-LCHlch(31.83, 71.67, 297.52°)
OKLaboklab(42.53% -0.0072 -0.184)
OKLCHoklch(42.53% 0.184 267.8)
XYZxyz(10.4186, 7.0117, 42.3907)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253EB1 #B19825
analogous
#2584B1 #253EB1 #5225B1
triadic
#253EB1 #B1253E #3EB125
tetradic
#253EB1 #B12584 #B19825 #25B152
square
#253EB1 #B12584 #B19825 #25B152
split-complementary
#253EB1 #B15225 #84B125
monochromatic
#101B4C #1A2C7E #253EB1 #3D58D6 #6F84E1

Accessibility & contrast

On white

8.74
#253EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#253EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253EB1
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253EB1#FFFFFF#000000##FFFFFF
##253EB11.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #253eb1;
/* rgb */ color: rgb(37, 62, 177);
/* oklch */ color: oklch(42.5% 0.184 267.8);
Tailwind
colors: {
  custom: {
    50: '#7773c9',
    500: '#253eb1',
    950: '#000000',
  },
}
SCSS
$custom: #253eb1;
$custom-light: #7773c9;
$custom-dark: #000000;
JSON
{
  "hex": "#253eb1",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 229.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.18411,
    "h": 267.8
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#253EB1
secondary
#C8B76A
accent
#CA3FE8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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