#254294#254294

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

Color values

HEX#254294
RGBrgb(37, 66, 148)
HSLhsl(224, 60%, 36%)
HSVhsv(224, 75%, 58%)
CMYKcmyk(75%, 55.4%, 0%, 42%)
CIE-LABlab(30.47, 19.34, -48.31)
CIE-LCHlch(30.47, 52.04, 291.82°)
OKLaboklab(40.76% -0.0104 -0.1392)
OKLCHoklch(40.76% 0.14 265.7)
XYZxyz(8.0546, 6.4270, 28.8273)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254294 #947725
analogous
#257A94 #254294 #402594
triadic
#254294 #942542 #429425
tetradic
#254294 #94257A #947725 #259440
square
#254294 #94257A #947725 #259440
split-complementary
#254294 #944025 #7A9425
monochromatic
#0D1632 #192C63 #254294 #3158C5 #5D7DD6

Accessibility & contrast

On white

9.19
#254294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#254294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254294
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254294#FFFFFF#000000##FFFFFF
##2542941.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254294;
/* rgb */ color: rgb(37, 66, 148);
/* oklch */ color: oklch(40.8% 0.140 265.7);
Tailwind
colors: {
  custom: {
    50: '#7075b4',
    500: '#254294',
    950: '#000000',
  },
}
SCSS
$custom: #254294;
$custom-light: #7075b4;
$custom-dark: #000000;
JSON
{
  "hex": "#254294",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 224.324,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.13955,
    "h": 265.7
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#254294
secondary
#BBA259
accent
#BA45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #254294

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

Preview Lab → · Contrast checker → · Palette generator →

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