#254784#254784

#254784 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.110 H 261.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#254784
RGBrgb(37, 71, 132)
HSLhsl(219, 56%, 33%)
HSVhsv(219, 72%, 52%)
CMYKcmyk(72%, 46.2%, 0%, 48.2%)
CIE-LABlab(30.80, 9.66, -37.93)
CIE-LCHlch(30.80, 39.14, 284.28°)
OKLaboklab(40.65% -0.0171 -0.1085)
OKLCHoklch(40.65% 0.11 261.1)
XYZxyz(7.1796, 6.5650, 22.7141)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254784 #846225
analogous
#257684 #254784 #322584
triadic
#254784 #842547 #478425
tetradic
#254784 #842576 #846225 #258432
square
#254784 #842576 #846225 #258432
split-complementary
#254784 #843225 #768425
monochromatic
#0A1424 #182D54 #254784 #3261B4 #5480CF

Accessibility & contrast

On white

9.08
#254784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#254784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254784
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254784#FFFFFF#000000##FFFFFF
##2547841.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D86
Deuteranopia (green-blind)
#174483
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254784;
/* rgb */ color: rgb(37, 71, 132);
/* oklch */ color: oklch(40.6% 0.110 261.1);
Tailwind
colors: {
  custom: {
    50: '#6c79a8',
    500: '#254784',
    950: '#000000',
  },
}
SCSS
$custom: #254784;
$custom-light: #6c79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#254784",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 218.526,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.10987,
    "h": 261.1
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#254784
secondary
#B39051
accent
#A948E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254784

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

Preview Lab → · Contrast checker → · Palette generator →

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