#253998#253998

#253998 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.157 H 268.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#253998
RGBrgb(37, 57, 152)
HSLhsl(230, 61%, 37%)
HSVhsv(230, 76%, 60%)
CMYKcmyk(75.7%, 62.5%, 0%, 40.4%)
CIE-LABlab(28.34, 27.00, -54.21)
CIE-LCHlch(28.34, 60.56, 296.47°)
OKLaboklab(39.27% -0.0034 -0.1566)
OKLCHoklch(39.27% 0.157 268.8)
XYZxyz(7.8916, 5.5857, 30.3619)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253998 #988425
analogous
#257398 #253998 #4A2598
triadic
#253998 #982539 #399825
tetradic
#253998 #982573 #988425 #25984A
square
#253998 #982573 #988425 #25984A
split-complementary
#253998 #984A25 #739825
monochromatic
#0D1436 #192767 #253998 #314BC9 #5F74D8

Accessibility & contrast

On white

9.92
#253998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#253998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253998
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253998#FFFFFF#000000##FFFFFF
##2539981.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253998;
/* rgb */ color: rgb(37, 57, 152);
/* oklch */ color: oklch(39.3% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#716fb7',
    500: '#253998',
    950: '#000000',
  },
}
SCSS
$custom: #253998;
$custom-light: #716fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#253998",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 152
  },
  "hsl": {
    "h": 229.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.15666,
    "h": 268.8
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#253998
secondary
#BDAC5C
accent
#C844E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253998

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

Preview Lab → · Contrast checker → · Palette generator →

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