#254688#254688

#254688 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.117 H 262.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#254688
RGBrgb(37, 70, 136)
HSLhsl(220, 57%, 34%)
HSVhsv(220, 73%, 53%)
CMYKcmyk(72.8%, 48.5%, 0%, 46.7%)
CIE-LABlab(30.76, 11.90, -40.46)
CIE-LCHlch(30.76, 42.18, 286.39°)
OKLaboklab(40.71% -0.0154 -0.116)
OKLCHoklch(40.71% 0.117 262.4)
XYZxyz(7.3955, 6.5504, 24.1624)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254688 #886725
analogous
#257888 #254688 #362588
triadic
#254688 #882546 #468825
tetradic
#254688 #882578 #886725 #258836
square
#254688 #882578 #886725 #258836
split-complementary
#254688 #883625 #788825
monochromatic
#0B1428 #182D58 #254688 #325FB8 #567FD1

Accessibility & contrast

On white

9.09
#254688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254688
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254688#FFFFFF#000000##FFFFFF
##2546881.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#0B4487
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254688;
/* rgb */ color: rgb(37, 70, 136);
/* oklch */ color: oklch(40.7% 0.117 262.4);
Tailwind
colors: {
  custom: {
    50: '#6d78ab',
    500: '#254688',
    950: '#000000',
  },
}
SCSS
$custom: #254688;
$custom-light: #6d78ab;
$custom-dark: #000000;
JSON
{
  "hex": "#254688",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 220,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40709,
    "c": 0.11701,
    "h": 262.4
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#254688
secondary
#B69553
accent
#AD47E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254688

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

Preview Lab → · Contrast checker → · Palette generator →

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