#253C8B#253C8B

#253C8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.134 H 267.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#253C8B
RGBrgb(37, 60, 139)
HSLhsl(226, 58%, 35%)
HSVhsv(226, 73%, 55%)
CMYKcmyk(73.4%, 56.8%, 0%, 45.5%)
CIE-LABlab(28.08, 19.94, -46.64)
CIE-LCHlch(28.08, 50.73, 293.15°)
OKLaboklab(38.74% -0.006 -0.1343)
OKLCHoklch(38.74% 0.134 267.4)
XYZxyz(7.0374, 5.4884, 25.1096)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C8B #8B7425
analogous
#256F8B #253C8B #41258B
triadic
#253C8B #8B253C #3C8B25
tetradic
#253C8B #8B256F #8B7425 #258B41
square
#253C8B #8B256F #8B7425 #258B41
split-complementary
#253C8B #8B4125 #6F8B25
monochromatic
#0B122A #18275B #253C8B #3251BB #5874D3

Accessibility & contrast

On white

10.01
#253C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#253C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C8B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C8B#FFFFFF#000000##FFFFFF
##253C8B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253c8b;
/* rgb */ color: rgb(37, 60, 139);
/* oklch */ color: oklch(38.7% 0.134 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e71ad',
    500: '#253c8b',
    950: '#000000',
  },
}
SCSS
$custom: #253c8b;
$custom-light: #6e71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253c8b",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 226.471,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.13447,
    "h": 267.4
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#253C8B
secondary
#B7A155
accent
#BE47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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