#254682#254682

#254682 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.108 H 261.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#254682
RGBrgb(37, 70, 130)
HSLhsl(219, 56%, 33%)
HSVhsv(219, 72%, 51%)
CMYKcmyk(71.5%, 46.2%, 0%, 49%)
CIE-LABlab(30.36, 9.55, -37.39)
CIE-LCHlch(30.36, 38.59, 284.33°)
OKLaboklab(40.28% -0.0164 -0.1069)
OKLCHoklch(40.28% 0.108 261.3)
XYZxyz(6.9809, 6.3846, 21.9792)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254682 #826125
analogous
#257482 #254682 #332582
triadic
#254682 #822546 #468225
tetradic
#254682 #822574 #826125 #258233
square
#254682 #822574 #826125 #258233
split-complementary
#254682 #823325 #748225
monochromatic
#0A1323 #172C52 #254682 #3360B2 #537FCE

Accessibility & contrast

On white

9.22
#254682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#254682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254682
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254682#FFFFFF#000000##FFFFFF
##2546821.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#174381
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254682;
/* rgb */ color: rgb(37, 70, 130);
/* oklch */ color: oklch(40.3% 0.108 261.3);
Tailwind
colors: {
  custom: {
    50: '#6b79a7',
    500: '#254682',
    950: '#000000',
  },
}
SCSS
$custom: #254682;
$custom-light: #6b79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254682",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 218.71,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.10821,
    "h": 261.3
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#254682
secondary
#B29050
accent
#AA49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254682

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

Preview Lab → · Contrast checker → · Palette generator →

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