#254190#254190

#254190 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.135 H 265.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#254190
RGBrgb(37, 65, 144)
HSLhsl(224, 59%, 35%)
HSVhsv(224, 74%, 56%)
CMYKcmyk(74.3%, 54.9%, 0%, 43.5%)
CIE-LABlab(29.88, 18.46, -46.81)
CIE-LCHlch(29.88, 50.32, 291.52°)
OKLaboklab(40.22% -0.0099 -0.1348)
OKLCHoklch(40.22% 0.135 265.8)
XYZxyz(7.6855, 6.1867, 27.1693)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254190 #907425
analogous
#257690 #254190 #3E2590
triadic
#254190 #902541 #419025
tetradic
#254190 #902576 #907425 #25903E
square
#254190 #902576 #907425 #25903E
split-complementary
#254190 #903E25 #769025
monochromatic
#0C152F #182B5F #254190 #3257C1 #5B7BD5

Accessibility & contrast

On white

9.39
#254190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#254190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254190
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254190#FFFFFF#000000##FFFFFF
##2541901.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254190;
/* rgb */ color: rgb(37, 65, 144);
/* oklch */ color: oklch(40.2% 0.135 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f75b1',
    500: '#254190',
    950: '#000000',
  },
}
SCSS
$custom: #254190;
$custom-light: #6f75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#254190",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 224.299,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.13512,
    "h": 265.8
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#254190
secondary
#B9A057
accent
#B945E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254190

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

Preview Lab → · Contrast checker → · Palette generator →

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