#253F7C#253F7C

#253F7C is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.108 H 264.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#253F7C
RGBrgb(37, 63, 124)
HSLhsl(222, 54%, 32%)
HSVhsv(222, 70%, 49%)
CMYKcmyk(70.2%, 49.2%, 0%, 51.4%)
CIE-LABlab(27.85, 12.00, -37.67)
CIE-LCHlch(27.85, 39.53, 287.68°)
OKLaboklab(38.22% -0.0104 -0.1079)
OKLCHoklch(38.22% 0.108 264.5)
XYZxyz(6.1773, 5.4030, 19.7822)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F7C #7C6225
analogous
#256B7C #253F7C #37257C
triadic
#253F7C #7C253F #3F7C25
tetradic
#253F7C #7C256B #7C6225 #257C37
square
#253F7C #7C256B #7C6225 #257C37
split-complementary
#253F7C #7C3725 #6B7C25
monochromatic
#090F1E #17274D #253F7C #3357AB #5075CB

Accessibility & contrast

On white

10.09
#253F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253F7C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F7C#FFFFFF#000000##FFFFFF
##253F7C1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#0C3E7B
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253f7c;
/* rgb */ color: rgb(37, 63, 124);
/* oklch */ color: oklch(38.2% 0.108 264.5);
Tailwind
colors: {
  custom: {
    50: '#6a73a2',
    500: '#253f7c',
    950: '#000000',
  },
}
SCSS
$custom: #253f7c;
$custom-light: #6a73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#253f7c",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 222.069,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38219,
    "c": 0.10839,
    "h": 264.5
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#253F7C
secondary
#AE924F
accent
#B14ADD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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