#253E7A#253E7A

#253E7A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.107 H 264.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#253E7A
RGBrgb(37, 62, 122)
HSLhsl(222, 53%, 31%)
HSVhsv(222, 70%, 48%)
CMYKcmyk(69.7%, 49.2%, 0%, 52.2%)
CIE-LABlab(27.42, 11.92, -37.11)
CIE-LCHlch(27.42, 38.98, 287.80°)
OKLaboklab(37.84% -0.0097 -0.1063)
OKLCHoklch(37.84% 0.107 264.8)
XYZxyz(5.9972, 5.2431, 19.1045)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E7A #7A6125
analogous
#25687A #253E7A #36257A
triadic
#253E7A #7A253E #3E7A25
tetradic
#253E7A #7A2568 #7A6125 #257A36
square
#253E7A #7A2568 #7A6125 #257A36
split-complementary
#253E7A #7A3625 #687A25
monochromatic
#090E1C #17264B #253E7A #3356A9 #5074CA

Accessibility & contrast

On white

10.25
#253E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E7A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E7A#FFFFFF#000000##FFFFFF
##253E7A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#0D3D79
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253e7a;
/* rgb */ color: rgb(37, 62, 122);
/* oklch */ color: oklch(37.8% 0.107 264.8);
Tailwind
colors: {
  custom: {
    50: '#6a72a1',
    500: '#253e7a',
    950: '#000000',
  },
}
SCSS
$custom: #253e7a;
$custom-light: #6a72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#253e7a",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 222.353,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37841,
    "c": 0.10671,
    "h": 264.8
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#253E7A
secondary
#AC914E
accent
#B24BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #253E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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