#253999#253999

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

Color values

HEX#253999
RGBrgb(37, 57, 153)
HSLhsl(230, 61%, 37%)
HSVhsv(230, 76%, 60%)
CMYKcmyk(75.8%, 62.7%, 0%, 40%)
CIE-LABlab(28.43, 27.38, -54.68)
CIE-LCHlch(28.43, 61.15, 296.60°)
OKLaboklab(39.36% -0.0034 -0.158)
OKLCHoklch(39.36% 0.158 268.8)
XYZxyz(7.9739, 5.6186, 30.7951)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253999 #998525
analogous
#257399 #253999 #4B2599
triadic
#253999 #992539 #399925
tetradic
#253999 #992573 #998525 #25994B
square
#253999 #992573 #998525 #25994B
split-complementary
#253999 #994B25 #739925
monochromatic
#0D1436 #192768 #253999 #314BCA #6075D9

Accessibility & contrast

On white

9.89
#253999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253999
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253999#FFFFFF#000000##FFFFFF
##2539991.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253999;
/* rgb */ color: rgb(37, 57, 153);
/* oklch */ color: oklch(39.4% 0.158 268.8);
Tailwind
colors: {
  custom: {
    50: '#726fb8',
    500: '#253999',
    950: '#000000',
  },
}
SCSS
$custom: #253999;
$custom-light: #726fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#253999",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 153
  },
  "hsl": {
    "h": 229.655,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.15803,
    "h": 268.8
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253999

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

Preview Lab → · Contrast checker → · Palette generator →

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