#254176#254176

#254176 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.097 H 261.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#254176
RGBrgb(37, 65, 118)
HSLhsl(219, 52%, 30%)
HSVhsv(219, 69%, 46%)
CMYKcmyk(68.6%, 44.9%, 0%, 53.7%)
CIE-LABlab(28.06, 8.29, -33.55)
CIE-LCHlch(28.06, 34.56, 283.88°)
OKLaboklab(38.25% -0.0136 -0.0958)
OKLCHoklch(38.25% 0.097 261.9)
XYZxyz(5.9221, 5.4813, 17.8819)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254176 #765A25
analogous
#256976 #254176 #312576
triadic
#254176 #762541 #417625
tetradic
#254176 #762569 #765A25 #257631
square
#254176 #762569 #765A25 #257631
split-complementary
#254176 #763125 #697625
monochromatic
#080E19 #162747 #254176 #345BA5 #4E78C7

Accessibility & contrast

On white

10.02
#254176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#254176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254176
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254176#FFFFFF#000000##FFFFFF
##2541761.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#1B3F75
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254176;
/* rgb */ color: rgb(37, 65, 118);
/* oklch */ color: oklch(38.3% 0.097 261.9);
Tailwind
colors: {
  custom: {
    50: '#69759e',
    500: '#254176',
    950: '#000000',
  },
}
SCSS
$custom: #254176;
$custom-light: #69759e;
$custom-dark: #000000;
JSON
{
  "hex": "#254176",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 118
  },
  "hsl": {
    "h": 219.259,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.09672,
    "h": 261.9
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#254176
secondary
#A9894E
accent
#AA4CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254176

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

Preview Lab → · Contrast checker → · Palette generator →

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