#254079#254079

#254079 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.103 H 263.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#254079
RGBrgb(37, 64, 121)
HSLhsl(221, 53%, 31%)
HSVhsv(221, 69%, 47%)
CMYKcmyk(69.4%, 47.1%, 0%, 52.5%)
CIE-LABlab(27.95, 10.14, -35.62)
CIE-LCHlch(27.95, 37.04, 285.89°)
OKLaboklab(38.23% -0.012 -0.1018)
OKLCHoklch(38.23% 0.103 263.3)
XYZxyz(6.0463, 5.4400, 18.8168)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254079 #795E25
analogous
#256A79 #254079 #342579
triadic
#254079 #792540 #407925
tetradic
#254079 #79256A #795E25 #257934
square
#254079 #79256A #795E25 #257934
split-complementary
#254079 #793425 #6A7925
monochromatic
#080E1B #17274A #254079 #3359A8 #4F76C9

Accessibility & contrast

On white

10.06
#254079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#254079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254079
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254079#FFFFFF#000000##FFFFFF
##2540791.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#153E78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254079;
/* rgb */ color: rgb(37, 64, 121);
/* oklch */ color: oklch(38.2% 0.103 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a74a0',
    500: '#254079',
    950: '#000000',
  },
}
SCSS
$custom: #254079;
$custom-light: #6a74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#254079",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 220.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.10255,
    "h": 263.3
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#254079
secondary
#AB8D4E
accent
#AE4BDD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #254079

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

Preview Lab → · Contrast checker → · Palette generator →

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