#253A7D#253A7D

#253A7D is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.117 H 267.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#253A7D
RGBrgb(37, 58, 125)
HSLhsl(226, 54%, 32%)
HSVhsv(226, 70%, 49%)
CMYKcmyk(70.4%, 53.6%, 0%, 51%)
CIE-LABlab(26.45, 15.87, -40.56)
CIE-LCHlch(26.45, 43.55, 291.36°)
OKLaboklab(37.17% -0.0053 -0.1165)
OKLCHoklch(37.17% 0.117 267.4)
XYZxyz(5.9764, 4.8995, 20.0288)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A7D #7D6825
analogous
#25667D #253A7D #3C257D
triadic
#253A7D #7D253A #3A7D25
tetradic
#253A7D #7D2566 #7D6825 #257D3C
square
#253A7D #7D2566 #7D6825 #257D3C
split-complementary
#253A7D #7D3C25 #667D25
monochromatic
#090E1F #17244E #253A7D #3350AC #516ECB

Accessibility & contrast

On white

10.61
#253A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A7D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A7D#FFFFFF#000000##FFFFFF
##253A7D1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10437F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253a7d;
/* rgb */ color: rgb(37, 58, 125);
/* oklch */ color: oklch(37.2% 0.117 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6fa3',
    500: '#253a7d',
    950: '#000000',
  },
}
SCSS
$custom: #253a7d;
$custom-light: #6b6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#253a7d",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 225.682,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37171,
    "c": 0.11661,
    "h": 267.4
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#253A7D
secondary
#AF984F
accent
#BA4ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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