#254199#254199

#254199 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.148 H 266.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#254199
RGBrgb(37, 65, 153)
HSLhsl(226, 61%, 37%)
HSVhsv(226, 76%, 60%)
CMYKcmyk(75.8%, 57.5%, 0%, 40%)
CIE-LABlab(30.58, 21.97, -51.18)
CIE-LCHlch(30.58, 55.70, 293.23°)
OKLaboklab(40.97% -0.0092 -0.1476)
OKLCHoklch(40.97% 0.148 266.4)
XYZxyz(8.4010, 6.4729, 30.9375)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254199 #997D25
analogous
#257B99 #254199 #432599
triadic
#254199 #992541 #419925
tetradic
#254199 #99257B #997D25 #259943
square
#254199 #99257B #997D25 #259943
split-complementary
#254199 #994325 #7B9925
monochromatic
#0D1736 #192C68 #254199 #3156CA #607DD9

Accessibility & contrast

On white

9.15
#254199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254199
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254199#FFFFFF#000000##FFFFFF
##2541991.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254199;
/* rgb */ color: rgb(37, 65, 153);
/* oklch */ color: oklch(41.0% 0.148 266.4);
Tailwind
colors: {
  custom: {
    50: '#7175b8',
    500: '#254199',
    950: '#000000',
  },
}
SCSS
$custom: #254199;
$custom-light: #7175b8;
$custom-dark: #000000;
JSON
{
  "hex": "#254199",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 225.517,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.1479,
    "h": 266.4
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#254199
secondary
#BEA65C
accent
#BD44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254199

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

Preview Lab → · Contrast checker → · Palette generator →

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