#253F9B#253F9B

#253F9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.153 H 267.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#253F9B
RGBrgb(37, 63, 155)
HSLhsl(227, 61%, 38%)
HSVhsv(227, 76%, 61%)
CMYKcmyk(76.1%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.19, 24.10, -53.02)
CIE-LCHlch(30.19, 58.24, 294.44°)
OKLaboklab(40.73% -0.0077 -0.153)
OKLCHoklch(40.73% 0.153 267.1)
XYZxyz(8.4548, 6.3140, 31.7771)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F9B #9B8125
analogous
#257A9B #253F9B #46259B
triadic
#253F9B #9B253F #3F9B25
tetradic
#253F9B #9B257A #9B8125 #259B46
square
#253F9B #9B257A #9B8125 #259B46
split-complementary
#253F9B #9B4625 #7A9B25
monochromatic
#0D1738 #192B6A #253F9B #3153CC #617CD9

Accessibility & contrast

On white

9.28
#253F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#253F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F9B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F9B#FFFFFF#000000##FFFFFF
##253F9B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #253f9b;
/* rgb */ color: rgb(37, 63, 155);
/* oklch */ color: oklch(40.7% 0.153 267.1);
Tailwind
colors: {
  custom: {
    50: '#7273b9',
    500: '#253f9b',
    950: '#000000',
  },
}
SCSS
$custom: #253f9b;
$custom-light: #7273b9;
$custom-dark: #000000;
JSON
{
  "hex": "#253f9b",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 226.78,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.15324,
    "h": 267.1
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#253F9B
secondary
#BFA95D
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #253F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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