#254276#254276

#254276 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.095 H 261.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#254276
RGBrgb(37, 66, 118)
HSLhsl(219, 52%, 30%)
HSVhsv(219, 69%, 46%)
CMYKcmyk(68.6%, 44.1%, 0%, 53.7%)
CIE-LABlab(28.37, 7.60, -33.06)
CIE-LCHlch(28.37, 33.92, 282.95°)
OKLaboklab(38.49% -0.0147 -0.0943)
OKLCHoklch(38.49% 0.095 261.1)
XYZxyz(5.9800, 5.5972, 17.9012)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254276 #765925
analogous
#256A76 #254276 #312576
triadic
#254276 #762542 #427625
tetradic
#254276 #76256A #765925 #257631
square
#254276 #76256A #765925 #257631
split-complementary
#254276 #763125 #6A7625
monochromatic
#080E19 #162847 #254276 #345CA5 #4E79C7

Accessibility & contrast

On white

9.91
#254276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#254276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254276
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254276#FFFFFF#000000##FFFFFF
##2542761.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4778
Deuteranopia (green-blind)
#1D3F75
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254276;
/* rgb */ color: rgb(37, 66, 118);
/* oklch */ color: oklch(38.5% 0.095 261.1);
Tailwind
colors: {
  custom: {
    50: '#69769e',
    500: '#254276',
    950: '#000000',
  },
}
SCSS
$custom: #254276;
$custom-light: #69769e;
$custom-dark: #000000;
JSON
{
  "hex": "#254276",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 218.519,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38491,
    "c": 0.09544,
    "h": 261.1
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254276

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

Preview Lab → · Contrast checker → · Palette generator →

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