#254480#254480

#254480 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.108 H 262.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#254480
RGBrgb(37, 68, 128)
HSLhsl(220, 55%, 32%)
HSVhsv(220, 71%, 50%)
CMYKcmyk(71.1%, 46.9%, 0%, 49.8%)
CIE-LABlab(29.63, 10.13, -37.32)
CIE-LCHlch(29.63, 38.67, 285.19°)
OKLaboklab(39.67% -0.0148 -0.1068)
OKLCHoklch(39.67% 0.108 262.1)
XYZxyz(6.7250, 6.0854, 21.2381)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254480 #806125
analogous
#257280 #254480 #332580
triadic
#254480 #802544 #448025
tetradic
#254480 #802572 #806125 #258033
square
#254480 #802572 #806125 #258033
split-complementary
#254480 #803325 #728025
monochromatic
#0A1221 #172B51 #254480 #335DAF #527CCD

Accessibility & contrast

On white

9.47
#254480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#254480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254480
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254480#FFFFFF#000000##FFFFFF
##2544801.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A82
Deuteranopia (green-blind)
#15427F
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254480;
/* rgb */ color: rgb(37, 68, 128);
/* oklch */ color: oklch(39.7% 0.108 262.1);
Tailwind
colors: {
  custom: {
    50: '#6b77a5',
    500: '#254480',
    950: '#000000',
  },
}
SCSS
$custom: #254480;
$custom-light: #6b77a5;
$custom-dark: #000000;
JSON
{
  "hex": "#254480",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 219.56,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.10781,
    "h": 262.1
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#254480
secondary
#B19050
accent
#AC49DE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254480

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

Preview Lab → · Contrast checker → · Palette generator →

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