#253B7D#253B7D

#253B7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.115 H 266.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#253B7D
RGBrgb(37, 59, 125)
HSLhsl(225, 54%, 32%)
HSVhsv(225, 70%, 49%)
CMYKcmyk(70.4%, 52.8%, 0%, 51%)
CIE-LABlab(26.74, 15.17, -40.09)
CIE-LCHlch(26.74, 42.86, 290.73°)
OKLaboklab(37.39% -0.0063 -0.1151)
OKLCHoklch(37.39% 0.115 266.9)
XYZxyz(6.0273, 5.0013, 20.0458)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B7D #7D6725
analogous
#25677D #253B7D #3B257D
triadic
#253B7D #7D253B #3B7D25
tetradic
#253B7D #7D2567 #7D6725 #257D3B
square
#253B7D #7D2567 #7D6725 #257D3B
split-complementary
#253B7D #7D3B25 #677D25
monochromatic
#090E1F #17254E #253B7D #3351AC #5170CB

Accessibility & contrast

On white

10.50
#253B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B7D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B7D#FFFFFF#000000##FFFFFF
##253B7D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253b7d;
/* rgb */ color: rgb(37, 59, 125);
/* oklch */ color: oklch(37.4% 0.115 266.9);
Tailwind
colors: {
  custom: {
    50: '#6b70a3',
    500: '#253b7d',
    950: '#000000',
  },
}
SCSS
$custom: #253b7d;
$custom-light: #6b70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#253b7d",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 225,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37392,
    "c": 0.11525,
    "h": 266.9
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#253B7D
secondary
#AF974F
accent
#B94ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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