#253B8B#253B8B

#253B8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.136 H 267.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#253B8B
RGBrgb(37, 59, 139)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 73%, 55%)
CMYKcmyk(73.4%, 57.6%, 0%, 45.5%)
CIE-LABlab(27.80, 20.63, -47.10)
CIE-LCHlch(27.80, 51.42, 293.66°)
OKLaboklab(38.53% -0.0052 -0.1357)
OKLCHoklch(38.53% 0.136 267.8)
XYZxyz(6.9855, 5.3846, 25.0923)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B8B #8B7525
analogous
#256E8B #253B8B #42258B
triadic
#253B8B #8B253B #3B8B25
tetradic
#253B8B #8B256E #8B7525 #258B42
square
#253B8B #8B256E #8B7525 #258B42
split-complementary
#253B8B #8B4225 #6E8B25
monochromatic
#0B122A #18265B #253B8B #3250BB #5872D3

Accessibility & contrast

On white

10.11
#253B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#253B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B8B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B8B#FFFFFF#000000##FFFFFF
##253B8B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253b8b;
/* rgb */ color: rgb(37, 59, 139);
/* oklch */ color: oklch(38.5% 0.136 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e70ae',
    500: '#253b8b',
    950: '#000000',
  },
}
SCSS
$custom: #253b8b;
$custom-light: #6e70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#253b8b",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 227.059,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.13579,
    "h": 267.8
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#253B8B
secondary
#B7A255
accent
#C047E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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