#254880#254880

#254880 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.103 H 259.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#254880
RGBrgb(37, 72, 128)
HSLhsl(217, 55%, 32%)
HSVhsv(217, 71%, 50%)
CMYKcmyk(71.1%, 43.8%, 0%, 49.8%)
CIE-LABlab(30.84, 7.42, -35.37)
CIE-LCHlch(30.84, 36.14, 281.84°)
OKLaboklab(40.61% -0.0189 -0.101)
OKLCHoklch(40.61% 0.103 259.4)
XYZxyz(6.9752, 6.5858, 21.3215)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254880 #805D25
analogous
#257680 #254880 #2F2580
triadic
#254880 #802548 #488025
tetradic
#254880 #802576 #805D25 #25802F
square
#254880 #802576 #805D25 #25802F
split-complementary
#254880 #802F25 #768025
monochromatic
#0A1321 #172D51 #254880 #3363AF #5282CD

Accessibility & contrast

On white

9.06
#254880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#254880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254880
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254880#FFFFFF#000000##FFFFFF
##2548801.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D82
Deuteranopia (green-blind)
#1F457F
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254880;
/* rgb */ color: rgb(37, 72, 128);
/* oklch */ color: oklch(40.6% 0.103 259.4);
Tailwind
colors: {
  custom: {
    50: '#6b7aa5',
    500: '#254880',
    950: '#000000',
  },
}
SCSS
$custom: #254880;
$custom-light: #6b7aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#254880",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 128
  },
  "hsl": {
    "h": 216.923,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.10275,
    "h": 259.4
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#254880
secondary
#B18C50
accent
#A549DE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254880

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

Preview Lab → · Contrast checker → · Palette generator →

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