#254192#254192

#254192 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.138 H 266.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#254192
RGBrgb(37, 65, 146)
HSLhsl(225, 60%, 36%)
HSVhsv(225, 75%, 57%)
CMYKcmyk(74.7%, 55.5%, 0%, 42.7%)
CIE-LABlab(30.03, 19.24, -47.79)
CIE-LCHlch(30.03, 51.52, 291.93°)
OKLaboklab(40.38% -0.0097 -0.1376)
OKLCHoklch(40.38% 0.138 266)
XYZxyz(7.8397, 6.2484, 27.9814)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254192 #927625
analogous
#257792 #254192 #3F2592
triadic
#254192 #922541 #419225
tetradic
#254192 #922577 #927625 #25923F
square
#254192 #922577 #927625 #25923F
split-complementary
#254192 #923F25 #779225
monochromatic
#0C1630 #192B61 #254192 #3157C3 #5C7BD6

Accessibility & contrast

On white

9.33
#254192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#254192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254192
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254192#FFFFFF#000000##FFFFFF
##2541921.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254192;
/* rgb */ color: rgb(37, 65, 146);
/* oklch */ color: oklch(40.4% 0.138 266.0);
Tailwind
colors: {
  custom: {
    50: '#6f75b3',
    500: '#254192',
    950: '#000000',
  },
}
SCSS
$custom: #254192;
$custom-light: #6f75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#254192",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 224.587,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.13799,
    "h": 266
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254192

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

Preview Lab → · Contrast checker → · Palette generator →

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