#254099#254099

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

Color values

HEX#254099
RGBrgb(37, 64, 153)
HSLhsl(226, 61%, 37%)
HSVhsv(226, 76%, 60%)
CMYKcmyk(75.8%, 58.2%, 0%, 40%)
CIE-LABlab(30.30, 22.65, -51.63)
CIE-LCHlch(30.30, 56.38, 293.69°)
OKLaboklab(40.76% -0.0085 -0.1489)
OKLCHoklch(40.76% 0.149 266.7)
XYZxyz(8.3441, 6.3591, 30.9185)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254099 #997E25
analogous
#257A99 #254099 #442599
triadic
#254099 #992540 #409925
tetradic
#254099 #99257A #997E25 #259944
square
#254099 #99257A #997E25 #259944
split-complementary
#254099 #994425 #7A9925
monochromatic
#0D1736 #192B68 #254099 #3155CA #607CD9

Accessibility & contrast

On white

9.24
#254099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#254099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254099
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254099#FFFFFF#000000##FFFFFF
##2540991.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254099;
/* rgb */ color: rgb(37, 64, 153);
/* oklch */ color: oklch(40.8% 0.149 266.7);
Tailwind
colors: {
  custom: {
    50: '#7174b8',
    500: '#254099',
    950: '#000000',
  },
}
SCSS
$custom: #254099;
$custom-light: #7174b8;
$custom-dark: #000000;
JSON
{
  "hex": "#254099",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 226.034,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.14918,
    "h": 266.7
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#254099
secondary
#BEA75C
accent
#BF44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254099

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

Preview Lab → · Contrast checker → · Palette generator →

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