#253B8D#253B8D

#253B8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.139 H 267.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#253B8D
RGBrgb(37, 59, 141)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 74%, 55%)
CMYKcmyk(73.8%, 58.2%, 0%, 44.7%)
CIE-LABlab(27.96, 21.41, -48.07)
CIE-LCHlch(27.96, 52.62, 294.00°)
OKLaboklab(38.7% -0.0051 -0.1386)
OKLCHoklch(38.7% 0.139 267.9)
XYZxyz(7.1330, 5.4436, 25.8689)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B8D #8D7725
analogous
#256F8D #253B8D #43258D
triadic
#253B8D #8D253B #3B8D25
tetradic
#253B8D #8D256F #8D7725 #258D43
square
#253B8D #8D256F #8D7725 #258D43
split-complementary
#253B8D #8D4325 #6F8D25
monochromatic
#0C122C #18275D #253B8D #324FBD #5973D3

Accessibility & contrast

On white

10.05
#253B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B8D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B8D#FFFFFF#000000##FFFFFF
##253B8D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253b8d;
/* rgb */ color: rgb(37, 59, 141);
/* oklch */ color: oklch(38.7% 0.139 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f70af',
    500: '#253b8d',
    950: '#000000',
  },
}
SCSS
$custom: #253b8d;
$custom-light: #6f70af;
$custom-dark: #000000;
JSON
{
  "hex": "#253b8d",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 227.308,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38704,
    "c": 0.13866,
    "h": 267.9
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#253B8D
secondary
#B8A356
accent
#C146E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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