#253799#253799

#253799 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.161 H 269.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#253799
RGBrgb(37, 55, 153)
HSLhsl(231, 61%, 37%)
HSVhsv(231, 76%, 60%)
CMYKcmyk(75.8%, 64.1%, 0%, 40%)
CIE-LABlab(27.91, 28.72, -55.52)
CIE-LCHlch(27.91, 62.51, 297.35°)
OKLaboklab(38.98% -0.002 -0.1605)
OKLCHoklch(38.98% 0.161 269.3)
XYZxyz(7.8769, 5.4248, 30.7628)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253799 #998725
analogous
#257199 #253799 #4D2599
triadic
#253799 #992537 #379925
tetradic
#253799 #992571 #998725 #25994D
square
#253799 #992571 #998725 #25994D
split-complementary
#253799 #994D25 #719925
monochromatic
#0D1436 #192568 #253799 #3149CA #6073D9

Accessibility & contrast

On white

10.07
#253799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#253799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253799
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253799#FFFFFF#000000##FFFFFF
##2537991.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253799;
/* rgb */ color: rgb(37, 55, 153);
/* oklch */ color: oklch(39.0% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#726db8',
    500: '#253799',
    950: '#000000',
  },
}
SCSS
$custom: #253799;
$custom-light: #726db8;
$custom-dark: #000000;
JSON
{
  "hex": "#253799",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 230.69,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.1605,
    "h": 269.3
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#253799
secondary
#BEAF5C
accent
#CB44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253799

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

Preview Lab → · Contrast checker → · Palette generator →

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