#254473#254473

#254473 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.8% C 0.088 H 258.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#254473
RGBrgb(37, 68, 115)
HSLhsl(216, 51%, 30%)
HSVhsv(216, 68%, 45%)
CMYKcmyk(67.8%, 40.9%, 0%, 54.9%)
CIE-LABlab(28.81, 5.08, -30.47)
CIE-LCHlch(28.81, 30.89, 279.47°)
OKLaboklab(38.77% -0.0176 -0.0867)
OKLCHoklch(38.77% 0.088 258.5)
XYZxyz(5.9235, 5.7648, 17.0169)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254473 #735425
analogous
#256B73 #254473 #2D2573
triadic
#254473 #732544 #447325
tetradic
#254473 #73256B #735425 #25732D
square
#254473 #73256B #735425 #25732D
split-complementary
#254473 #732D25 #6B7325
monochromatic
#070E17 #162945 #254473 #345FA1 #4D7DC6

Accessibility & contrast

On white

9.75
#254473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#254473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254473
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254473#FFFFFF#000000##FFFFFF
##2544731.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254473;
/* rgb */ color: rgb(37, 68, 115);
/* oklch */ color: oklch(38.8% 0.088 258.5);
Tailwind
colors: {
  custom: {
    50: '#68779b',
    500: '#254473',
    950: '#000000',
  },
}
SCSS
$custom: #254473;
$custom-light: #68779b;
$custom-dark: #000000;
JSON
{
  "hex": "#254473",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 115
  },
  "hsl": {
    "h": 216.154,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.08844,
    "h": 258.5
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#254473
secondary
#A6834E
accent
#A24DDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254473

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

Preview Lab → · Contrast checker → · Palette generator →

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