#253F7A#253F7A

#253F7A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.105 H 264.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#253F7A
RGBrgb(37, 63, 122)
HSLhsl(222, 53%, 31%)
HSVhsv(222, 70%, 48%)
CMYKcmyk(69.7%, 48.4%, 0%, 52.2%)
CIE-LABlab(27.72, 11.22, -36.63)
CIE-LCHlch(27.72, 38.31, 287.04°)
OKLaboklab(38.07% -0.0107 -0.1048)
OKLCHoklch(38.07% 0.105 264.1)
XYZxyz(6.0521, 5.3529, 19.1228)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F7A #7A6025
analogous
#25697A #253F7A #35257A
triadic
#253F7A #7A253F #3F7A25
tetradic
#253F7A #7A2569 #7A6025 #257A35
square
#253F7A #7A2569 #7A6025 #257A35
split-complementary
#253F7A #7A3525 #697A25
monochromatic
#090F1C #17274B #253F7A #3357A9 #5075CA

Accessibility & contrast

On white

10.14
#253F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F7A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F7A#FFFFFF#000000##FFFFFF
##253F7A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467C
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253f7a;
/* rgb */ color: rgb(37, 63, 122);
/* oklch */ color: oklch(38.1% 0.105 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a73a1',
    500: '#253f7a',
    950: '#000000',
  },
}
SCSS
$custom: #253f7a;
$custom-light: #6a73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#253f7a",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 221.647,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38071,
    "c": 0.10538,
    "h": 264.1
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#253F7A
secondary
#AC904E
accent
#B04BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #253F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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