#254479#254479

#254479 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.097 H 260.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#254479
RGBrgb(37, 68, 121)
HSLhsl(218, 53%, 31%)
HSVhsv(218, 69%, 47%)
CMYKcmyk(69.4%, 43.8%, 0%, 52.5%)
CIE-LABlab(29.18, 7.40, -33.66)
CIE-LCHlch(29.18, 34.47, 282.41°)
OKLaboklab(39.17% -0.0162 -0.096)
OKLCHoklch(39.17% 0.097 260.4)
XYZxyz(6.2800, 5.9074, 18.8947)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254479 #795A25
analogous
#256E79 #254479 #302579
triadic
#254479 #792544 #447925
tetradic
#254479 #79256E #795A25 #257930
square
#254479 #79256E #795A25 #257930
split-complementary
#254479 #793025 #6E7925
monochromatic
#080F1B #172A4A #254479 #335EA8 #4F7CC9

Accessibility & contrast

On white

9.63
#254479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#254479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254479
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254479#FFFFFF#000000##FFFFFF
##2544791.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254479;
/* rgb */ color: rgb(37, 68, 121);
/* oklch */ color: oklch(39.2% 0.097 260.4);
Tailwind
colors: {
  custom: {
    50: '#6a77a0',
    500: '#254479',
    950: '#000000',
  },
}
SCSS
$custom: #254479;
$custom-light: #6a77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#254479",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 217.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.0974,
    "h": 260.4
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#254479
secondary
#AB894E
accent
#A74BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #254479

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

Preview Lab → · Contrast checker → · Palette generator →

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