#254293#254293

#254293 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.138 H 265.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#254293
RGBrgb(37, 66, 147)
HSLhsl(224, 60%, 36%)
HSVhsv(224, 75%, 58%)
CMYKcmyk(74.8%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.39, 18.95, -47.82)
CIE-LCHlch(30.39, 51.44, 291.61°)
OKLaboklab(40.68% -0.0105 -0.1377)
OKLCHoklch(40.68% 0.138 265.7)
XYZxyz(7.9758, 6.3955, 28.4122)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254293 #937625
analogous
#257993 #254293 #3F2593
triadic
#254293 #932542 #429325
tetradic
#254293 #932579 #937625 #25933F
square
#254293 #932579 #937625 #25933F
split-complementary
#254293 #933F25 #799325
monochromatic
#0C1631 #192C62 #254293 #3158C4 #5C7CD6

Accessibility & contrast

On white

9.21
#254293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#254293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254293
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254293#FFFFFF#000000##FFFFFF
##2542931.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254293;
/* rgb */ color: rgb(37, 66, 147);
/* oklch */ color: oklch(40.7% 0.138 265.7);
Tailwind
colors: {
  custom: {
    50: '#7075b3',
    500: '#254293',
    950: '#000000',
  },
}
SCSS
$custom: #254293;
$custom-light: #7075b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254293",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 224.182,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40677,
    "c": 0.13812,
    "h": 265.7
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#254293
secondary
#BBA159
accent
#B945E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254293

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

Preview Lab → · Contrast checker → · Palette generator →

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