#253B8A#253B8A

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

Color values

HEX#253B8A
RGBrgb(37, 59, 138)
HSLhsl(227, 58%, 34%)
HSVhsv(227, 73%, 54%)
CMYKcmyk(73.2%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.72, 20.24, -46.60)
CIE-LCHlch(27.72, 50.81, 293.48°)
OKLaboklab(38.45% -0.0052 -0.1342)
OKLCHoklch(38.45% 0.134 267.8)
XYZxyz(6.9128, 5.3555, 24.7092)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B8A #8A7425
analogous
#256E8A #253B8A #42258A
triadic
#253B8A #8A253B #3B8A25
tetradic
#253B8A #8A256E #8A7425 #258A42
square
#253B8A #8A256E #8A7425 #258A42
split-complementary
#253B8A #8A4225 #6E8A25
monochromatic
#0B1229 #18265A #253B8A #3250BA #5772D2

Accessibility & contrast

On white

10.14
#253B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B8A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B8A#FFFFFF#000000##FFFFFF
##253B8A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253b8a;
/* rgb */ color: rgb(37, 59, 138);
/* oklch */ color: oklch(38.5% 0.134 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e70ad',
    500: '#253b8a',
    950: '#000000',
  },
}
SCSS
$custom: #253b8a;
$custom-light: #6e70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253b8a",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 226.931,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.13435,
    "h": 267.8
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#253B8A
secondary
#B7A154
accent
#BF47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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