#254177#254177

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

Color values

HEX#254177
RGBrgb(37, 65, 119)
HSLhsl(220, 53%, 31%)
HSVhsv(220, 69%, 47%)
CMYKcmyk(68.9%, 45.4%, 0%, 53.3%)
CIE-LABlab(28.13, 8.68, -34.08)
CIE-LCHlch(28.13, 35.17, 284.28°)
OKLaboklab(38.32% -0.0134 -0.0973)
OKLCHoklch(38.32% 0.098 262.1)
XYZxyz(5.9818, 5.5052, 18.1966)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254177 #775B25
analogous
#256A77 #254177 #322577
triadic
#254177 #772541 #417725
tetradic
#254177 #77256A #775B25 #257732
square
#254177 #77256A #775B25 #257732
split-complementary
#254177 #773225 #6A7725
monochromatic
#080E1A #162748 #254177 #345AA6 #4E78C8

Accessibility & contrast

On white

9.99
#254177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254177
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254177#FFFFFF#000000##FFFFFF
##2541771.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#1A3F76
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254177;
/* rgb */ color: rgb(37, 65, 119);
/* oklch */ color: oklch(38.3% 0.098 262.1);
Tailwind
colors: {
  custom: {
    50: '#69759e',
    500: '#254177',
    950: '#000000',
  },
}
SCSS
$custom: #254177;
$custom-light: #69759e;
$custom-dark: #000000;
JSON
{
  "hex": "#254177",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 119
  },
  "hsl": {
    "h": 219.512,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.09823,
    "h": 262.1
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#254177
secondary
#A98A4E
accent
#AB4CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254177

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

Preview Lab → · Contrast checker → · Palette generator →

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