#254499#254499

#254499 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.144 H 265.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#254499
RGBrgb(37, 68, 153)
HSLhsl(224, 61%, 37%)
HSVhsv(224, 76%, 60%)
CMYKcmyk(75.8%, 55.6%, 0%, 40%)
CIE-LABlab(31.41, 19.93, -49.83)
CIE-LCHlch(31.41, 53.67, 291.80°)
OKLaboklab(41.59% -0.0116 -0.1436)
OKLCHoklch(41.59% 0.144 265.4)
XYZxyz(8.5778, 6.8265, 30.9964)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254499 #997A25
analogous
#257E99 #254499 #402599
triadic
#254499 #992544 #449925
tetradic
#254499 #99257E #997A25 #259940
square
#254499 #99257E #997A25 #259940
split-complementary
#254499 #994025 #7E9925
monochromatic
#0D1836 #192E68 #254499 #315ACA #6080D9

Accessibility & contrast

On white

8.88
#254499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254499
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254499#FFFFFF#000000##FFFFFF
##2544991.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254499;
/* rgb */ color: rgb(37, 68, 153);
/* oklch */ color: oklch(41.6% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#7177b8',
    500: '#254499',
    950: '#000000',
  },
}
SCSS
$custom: #254499;
$custom-light: #7177b8;
$custom-dark: #000000;
JSON
{
  "hex": "#254499",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 223.966,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.14405,
    "h": 265.4
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#254499
secondary
#BEA45C
accent
#B944E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254499

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

Preview Lab → · Contrast checker → · Palette generator →

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