#253F7E#253F7E

#253F7E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.111 H 264.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#253F7E
RGBrgb(37, 63, 126)
HSLhsl(222, 55%, 32%)
HSVhsv(222, 71%, 49%)
CMYKcmyk(70.6%, 50%, 0%, 50.6%)
CIE-LABlab(27.99, 12.79, -38.70)
CIE-LCHlch(27.99, 40.76, 288.28°)
OKLaboklab(38.37% -0.0101 -0.1109)
OKLCHoklch(38.37% 0.111 264.8)
XYZxyz(6.3050, 5.4541, 20.4551)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F7E #7E6425
analogous
#256C7E #253F7E #38257E
triadic
#253F7E #7E253F #3F7E25
tetradic
#253F7E #7E256C #7E6425 #257E38
square
#253F7E #7E256C #7E6425 #257E38
split-complementary
#253F7E #7E3825 #6C7E25
monochromatic
#09101F #17274F #253F7E #3357AD #5175CC

Accessibility & contrast

On white

10.04
#253F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253F7E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F7E#FFFFFF#000000##FFFFFF
##253F7E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#073E7D
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253f7e;
/* rgb */ color: rgb(37, 63, 126);
/* oklch */ color: oklch(38.4% 0.111 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b73a4',
    500: '#253f7e',
    950: '#000000',
  },
}
SCSS
$custom: #253f7e;
$custom-light: #6b73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#253f7e",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 222.472,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38369,
    "c": 0.11138,
    "h": 264.8
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#253F7E
secondary
#B0944F
accent
#B34ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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