#253B81#253B81

#253B81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.121 H 267.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#253B81
RGBrgb(37, 59, 129)
HSLhsl(226, 55%, 33%)
HSVhsv(226, 71%, 51%)
CMYKcmyk(71.3%, 54.3%, 0%, 49.4%)
CIE-LABlab(27.03, 16.73, -42.12)
CIE-LCHlch(27.03, 45.32, 291.67°)
OKLaboklab(37.71% -0.0059 -0.1211)
OKLCHoklch(37.71% 0.121 267.2)
XYZxyz(6.2880, 5.1056, 21.4187)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B81 #816B25
analogous
#256981 #253B81 #3D2581
triadic
#253B81 #81253B #3B8125
tetradic
#253B81 #812569 #816B25 #25813D
square
#253B81 #812569 #816B25 #25813D
split-complementary
#253B81 #813D25 #698125
monochromatic
#0A0F22 #172551 #253B81 #3351B1 #5370CE

Accessibility & contrast

On white

10.39
#253B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B81
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B81#FFFFFF#000000##FFFFFF
##253B811.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4483
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253b81;
/* rgb */ color: rgb(37, 59, 129);
/* oklch */ color: oklch(37.7% 0.121 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c70a6',
    500: '#253b81',
    950: '#000000',
  },
}
SCSS
$custom: #253b81;
$custom-light: #6c70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253b81",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 225.652,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.1212,
    "h": 267.2
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#253B81
secondary
#B29A50
accent
#BB49DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #253B81

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

Preview Lab → · Contrast checker → · Palette generator →

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