#254684#254684

#254684 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.111 H 261.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#254684
RGBrgb(37, 70, 132)
HSLhsl(219, 56%, 33%)
HSVhsv(219, 72%, 52%)
CMYKcmyk(72%, 47%, 0%, 48.2%)
CIE-LABlab(30.49, 10.34, -38.42)
CIE-LCHlch(30.49, 39.78, 285.06°)
OKLaboklab(40.42% -0.0161 -0.11)
OKLCHoklch(40.42% 0.111 261.7)
XYZxyz(7.1165, 6.4388, 22.6931)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254684 #846325
analogous
#257584 #254684 #332584
triadic
#254684 #842546 #468425
tetradic
#254684 #842575 #846325 #258433
square
#254684 #842575 #846325 #258433
split-complementary
#254684 #843325 #758425
monochromatic
#0A1324 #182D54 #254684 #325FB4 #547FCF

Accessibility & contrast

On white

9.18
#254684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#254684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254684
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254684#FFFFFF#000000##FFFFFF
##2546841.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C86
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254684;
/* rgb */ color: rgb(37, 70, 132);
/* oklch */ color: oklch(40.4% 0.111 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c79a8',
    500: '#254684',
    950: '#000000',
  },
}
SCSS
$custom: #254684;
$custom-light: #6c79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#254684",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 219.158,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.11115,
    "h": 261.7
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#254684
secondary
#B39151
accent
#AB48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254684

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

Preview Lab → · Contrast checker → · Palette generator →

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