#253D7B#253D7B

#253D7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.110 H 265.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#253D7B
RGBrgb(37, 61, 123)
HSLhsl(223, 54%, 31%)
HSVhsv(223, 70%, 48%)
CMYKcmyk(69.9%, 50.4%, 0%, 51.8%)
CIE-LABlab(27.19, 13.00, -38.11)
CIE-LCHlch(27.19, 40.27, 288.83°)
OKLaboklab(37.69% -0.0085 -0.1092)
OKLCHoklch(37.69% 0.11 265.5)
XYZxyz(6.0056, 5.1603, 19.4146)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D7B #7B6325
analogous
#25687B #253D7B #38257B
triadic
#253D7B #7B253D #3D7B25
tetradic
#253D7B #7B2568 #7B6325 #257B38
square
#253D7B #7B2568 #7B6325 #257B38
split-complementary
#253D7B #7B3825 #687B25
monochromatic
#090E1D #17264C #253D7B #3354AA #5072CA

Accessibility & contrast

On white

10.33
#253D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D7B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D7B#FFFFFF#000000##FFFFFF
##253D7B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447D
Deuteranopia (green-blind)
#063D7A
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253d7b;
/* rgb */ color: rgb(37, 61, 123);
/* oklch */ color: oklch(37.7% 0.110 265.5);
Tailwind
colors: {
  custom: {
    50: '#6a72a2',
    500: '#253d7b',
    950: '#000000',
  },
}
SCSS
$custom: #253d7b;
$custom-light: #6a72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253d7b",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 223.256,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37688,
    "c": 0.10955,
    "h": 265.5
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#253D7B
secondary
#AD934F
accent
#B44BDD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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