#254377#254377

#254377 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.096 H 260.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#254377
RGBrgb(37, 67, 119)
HSLhsl(218, 53%, 31%)
HSVhsv(218, 69%, 47%)
CMYKcmyk(68.9%, 43.7%, 0%, 53.3%)
CIE-LABlab(28.74, 7.31, -33.10)
CIE-LCHlch(28.74, 33.90, 282.45°)
OKLaboklab(38.8% -0.0156 -0.0944)
OKLCHoklch(38.8% 0.096 260.6)
XYZxyz(6.0987, 5.7389, 18.2355)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254377 #775925
analogous
#256C77 #254377 #302577
triadic
#254377 #772543 #437725
tetradic
#254377 #77256C #775925 #257730
square
#254377 #77256C #775925 #257730
split-complementary
#254377 #773025 #6C7725
monochromatic
#080E1A #162948 #254377 #345DA6 #4E7BC8

Accessibility & contrast

On white

9.78
#254377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254377
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254377#FFFFFF#000000##FFFFFF
##2543771.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#1E4076
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254377;
/* rgb */ color: rgb(37, 67, 119);
/* oklch */ color: oklch(38.8% 0.096 260.6);
Tailwind
colors: {
  custom: {
    50: '#69769e',
    500: '#254377',
    950: '#000000',
  },
}
SCSS
$custom: #254377;
$custom-light: #69769e;
$custom-dark: #000000;
JSON
{
  "hex": "#254377",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 119
  },
  "hsl": {
    "h": 218.049,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.09568,
    "h": 260.6
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#254377
secondary
#A9884E
accent
#A74CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254377

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

Preview Lab → · Contrast checker → · Palette generator →

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