#253F7B#253F7B

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

Color values

HEX#253F7B
RGBrgb(37, 63, 123)
HSLhsl(222, 54%, 31%)
HSVhsv(222, 70%, 48%)
CMYKcmyk(69.9%, 48.8%, 0%, 51.8%)
CIE-LABlab(27.79, 11.61, -37.15)
CIE-LCHlch(27.79, 38.92, 287.36°)
OKLaboklab(38.15% -0.0106 -0.1064)
OKLCHoklch(38.15% 0.107 264.3)
XYZxyz(6.1144, 5.3778, 19.4508)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F7B #7B6125
analogous
#256A7B #253F7B #36257B
triadic
#253F7B #7B253F #3F7B25
tetradic
#253F7B #7B256A #7B6125 #257B36
square
#253F7B #7B256A #7B6125 #257B36
split-complementary
#253F7B #7B3625 #6A7B25
monochromatic
#090F1D #17274C #253F7B #3357AA #5075CA

Accessibility & contrast

On white

10.12
#253F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#253F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F7B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F7B#FFFFFF#000000##FFFFFF
##253F7B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#0E3E7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253f7b;
/* rgb */ color: rgb(37, 63, 123);
/* oklch */ color: oklch(38.1% 0.107 264.3);
Tailwind
colors: {
  custom: {
    50: '#6a73a2',
    500: '#253f7b',
    950: '#000000',
  },
}
SCSS
$custom: #253f7b;
$custom-light: #6a73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253f7b",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 221.86,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38145,
    "c": 0.10689,
    "h": 264.3
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#253F7B
secondary
#AD914F
accent
#B14BDD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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