#254482#254482

#254482 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.111 H 262.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#254482
RGBrgb(37, 68, 130)
HSLhsl(220, 56%, 33%)
HSVhsv(220, 72%, 51%)
CMYKcmyk(71.5%, 47.7%, 0%, 49%)
CIE-LABlab(29.76, 10.92, -38.35)
CIE-LCHlch(29.76, 39.88, 285.89°)
OKLaboklab(39.81% -0.0144 -0.1098)
OKLCHoklch(39.81% 0.111 262.5)
XYZxyz(6.8579, 6.1386, 21.9382)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254482 #826325
analogous
#257282 #254482 #342582
triadic
#254482 #822544 #448225
tetradic
#254482 #822572 #826325 #258234
square
#254482 #822572 #826325 #258234
split-complementary
#254482 #823425 #728225
monochromatic
#0A1223 #172B52 #254482 #335DB2 #537CCE

Accessibility & contrast

On white

9.43
#254482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#254482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254482
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254482#FFFFFF#000000##FFFFFF
##2544821.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B84
Deuteranopia (green-blind)
#114281
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254482;
/* rgb */ color: rgb(37, 68, 130);
/* oklch */ color: oklch(39.8% 0.111 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c77a7',
    500: '#254482',
    950: '#000000',
  },
}
SCSS
$custom: #254482;
$custom-light: #6c77a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254482",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 220,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39811,
    "c": 0.11077,
    "h": 262.5
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#254482
secondary
#B29250
accent
#AD49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254482

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

Preview Lab → · Contrast checker → · Palette generator →

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