#254393#254393

#254393 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.137 H 265.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#254393
RGBrgb(37, 67, 147)
HSLhsl(224, 60%, 36%)
HSVhsv(224, 75%, 58%)
CMYKcmyk(74.8%, 54.4%, 0%, 42.4%)
CIE-LABlab(30.67, 18.27, -47.36)
CIE-LCHlch(30.67, 50.76, 291.09°)
OKLaboklab(40.89% -0.0113 -0.1363)
OKLCHoklch(40.89% 0.137 265.3)
XYZxyz(8.0347, 6.5133, 28.4319)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254393 #937525
analogous
#257A93 #254393 #3E2593
triadic
#254393 #932543 #439325
tetradic
#254393 #93257A #937525 #25933E
square
#254393 #93257A #937525 #25933E
split-complementary
#254393 #933E25 #7A9325
monochromatic
#0C1631 #192D62 #254393 #3159C4 #5C7ED6

Accessibility & contrast

On white

9.12
#254393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#254393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254393
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254393#FFFFFF#000000##FFFFFF
##2543931.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254393;
/* rgb */ color: rgb(37, 67, 147);
/* oklch */ color: oklch(40.9% 0.137 265.3);
Tailwind
colors: {
  custom: {
    50: '#6f76b3',
    500: '#254393',
    950: '#000000',
  },
}
SCSS
$custom: #254393;
$custom-light: #6f76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254393",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 223.636,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.13682,
    "h": 265.3
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#254393
secondary
#BBA059
accent
#B845E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254393

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

Preview Lab → · Contrast checker → · Palette generator →

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