#253F7D#253F7D

#253F7D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.110 H 264.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#253F7D
RGBrgb(37, 63, 125)
HSLhsl(222, 54%, 32%)
HSVhsv(222, 70%, 49%)
CMYKcmyk(70.4%, 49.6%, 0%, 51%)
CIE-LABlab(27.92, 12.40, -38.18)
CIE-LCHlch(27.92, 40.14, 287.99°)
OKLaboklab(38.29% -0.0103 -0.1094)
OKLCHoklch(38.29% 0.11 264.6)
XYZxyz(6.2408, 5.4284, 20.1169)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F7D #7D6325
analogous
#256B7D #253F7D #37257D
triadic
#253F7D #7D253F #3F7D25
tetradic
#253F7D #7D256B #7D6325 #257D37
square
#253F7D #7D256B #7D6325 #257D37
split-complementary
#253F7D #7D3725 #6B7D25
monochromatic
#090F1F #17274E #253F7D #3357AC #5175CB

Accessibility & contrast

On white

10.07
#253F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F7D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F7D#FFFFFF#000000##FFFFFF
##253F7D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#093E7C
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253f7d;
/* rgb */ color: rgb(37, 63, 125);
/* oklch */ color: oklch(38.3% 0.110 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b73a3',
    500: '#253f7d',
    950: '#000000',
  },
}
SCSS
$custom: #253f7d;
$custom-light: #6b73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#253f7d",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 222.273,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38294,
    "c": 0.10989,
    "h": 264.6
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#253F7D
secondary
#AF934F
accent
#B24ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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