#254493#254493

#254493 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.136 H 264.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#254493
RGBrgb(37, 68, 147)
HSLhsl(223, 60%, 36%)
HSVhsv(223, 75%, 58%)
CMYKcmyk(74.8%, 53.7%, 0%, 42.4%)
CIE-LABlab(30.96, 17.58, -46.90)
CIE-LCHlch(30.96, 50.09, 290.55°)
OKLaboklab(41.11% -0.0121 -0.135)
OKLCHoklch(41.11% 0.136 264.9)
XYZxyz(8.0947, 6.6333, 28.4518)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254493 #937425
analogous
#257B93 #254493 #3D2593
triadic
#254493 #932544 #449325
tetradic
#254493 #93257B #937425 #25933D
square
#254493 #93257B #937425 #25933D
split-complementary
#254493 #933D25 #7B9325
monochromatic
#0C1731 #192D62 #254493 #315BC4 #5C7FD6

Accessibility & contrast

On white

9.03
#254493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#254493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254493
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254493#FFFFFF#000000##FFFFFF
##2544931.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254493;
/* rgb */ color: rgb(37, 68, 147);
/* oklch */ color: oklch(41.1% 0.136 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f77b3',
    500: '#254493',
    950: '#000000',
  },
}
SCSS
$custom: #254493;
$custom-light: #6f77b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254493",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 147
  },
  "hsl": {
    "h": 223.091,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.13552,
    "h": 264.9
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#254493
secondary
#BB9F59
accent
#B645E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254493

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

Preview Lab → · Contrast checker → · Palette generator →

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