#253D7A#253D7A

#253D7A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.108 H 265.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#253D7A
RGBrgb(37, 61, 122)
HSLhsl(223, 53%, 31%)
HSVhsv(223, 70%, 48%)
CMYKcmyk(69.7%, 50%, 0%, 52.2%)
CIE-LABlab(27.12, 12.61, -37.59)
CIE-LCHlch(27.12, 39.65, 288.54°)
OKLaboklab(37.61% -0.0087 -0.1077)
OKLCHoklch(37.61% 0.108 265.4)
XYZxyz(5.9433, 5.1354, 19.0866)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D7A #7A6225
analogous
#25677A #253D7A #37257A
triadic
#253D7A #7A253D #3D7A25
tetradic
#253D7A #7A2567 #7A6225 #257A37
square
#253D7A #7A2567 #7A6225 #257A37
split-complementary
#253D7A #7A3725 #677A25
monochromatic
#090E1C #17264B #253D7A #3354A9 #5072CA

Accessibility & contrast

On white

10.36
#253D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D7A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D7A#FFFFFF#000000##FFFFFF
##253D7A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#093C79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253d7a;
/* rgb */ color: rgb(37, 61, 122);
/* oklch */ color: oklch(37.6% 0.108 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a72a1',
    500: '#253d7a',
    950: '#000000',
  },
}
SCSS
$custom: #253d7a;
$custom-light: #6a72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#253d7a",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 223.059,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.10805,
    "h": 265.4
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#253D7A
secondary
#AC924E
accent
#B44BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #253D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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