#254376#254376

#254376 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.094 H 260.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#254376
RGBrgb(37, 67, 118)
HSLhsl(218, 52%, 30%)
HSVhsv(218, 69%, 46%)
CMYKcmyk(68.6%, 43.2%, 0%, 53.7%)
CIE-LABlab(28.68, 6.92, -32.57)
CIE-LCHlch(28.68, 33.30, 282.00°)
OKLaboklab(38.73% -0.0158 -0.0928)
OKLCHoklch(38.73% 0.094 260.3)
XYZxyz(6.0390, 5.7150, 17.9209)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254376 #765825
analogous
#256B76 #254376 #302576
triadic
#254376 #762543 #437625
tetradic
#254376 #76256B #765825 #257630
square
#254376 #76256B #765825 #257630
split-complementary
#254376 #763025 #6B7625
monochromatic
#080E19 #162947 #254376 #345DA5 #4E7BC7

Accessibility & contrast

On white

9.80
#254376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#254376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254376
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254376#FFFFFF#000000##FFFFFF
##2543761.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#1F4075
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254376;
/* rgb */ color: rgb(37, 67, 118);
/* oklch */ color: oklch(38.7% 0.094 260.3);
Tailwind
colors: {
  custom: {
    50: '#69769e',
    500: '#254376',
    950: '#000000',
  },
}
SCSS
$custom: #254376;
$custom-light: #69769e;
$custom-dark: #000000;
JSON
{
  "hex": "#254376",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 118
  },
  "hsl": {
    "h": 217.778,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.09417,
    "h": 260.3
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254376

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

Preview Lab → · Contrast checker → · Palette generator →

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