#253992#253992

#253992 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.148 H 268.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#253992
RGBrgb(37, 57, 146)
HSLhsl(229, 60%, 36%)
HSVhsv(229, 75%, 57%)
CMYKcmyk(74.7%, 61%, 0%, 42.7%)
CIE-LABlab(27.83, 24.70, -51.37)
CIE-LCHlch(27.83, 57.00, 295.68°)
OKLaboklab(38.73% -0.0034 -0.1483)
OKLCHoklch(38.73% 0.148 268.7)
XYZxyz(7.4126, 5.3941, 27.8391)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253992 #927E25
analogous
#256F92 #253992 #472592
triadic
#253992 #922539 #399225
tetradic
#253992 #92256F #927E25 #259247
square
#253992 #92256F #927E25 #259247
split-complementary
#253992 #924725 #6F9225
monochromatic
#0C1330 #192661 #253992 #314CC3 #5C72D6

Accessibility & contrast

On white

10.10
#253992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#253992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253992
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253992#FFFFFF#000000##FFFFFF
##2539921.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253992;
/* rgb */ color: rgb(37, 57, 146);
/* oklch */ color: oklch(38.7% 0.148 268.7);
Tailwind
colors: {
  custom: {
    50: '#706fb3',
    500: '#253992',
    950: '#000000',
  },
}
SCSS
$custom: #253992;
$custom-light: #706fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#253992",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 228.991,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38733,
    "c": 0.14833,
    "h": 268.7
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#253992
secondary
#BAA858
accent
#C645E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253992

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

Preview Lab → · Contrast checker → · Palette generator →

#253992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva