#254380#254380

#254380 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.109 H 262.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#254380
RGBrgb(37, 67, 128)
HSLhsl(220, 55%, 32%)
HSVhsv(220, 71%, 50%)
CMYKcmyk(71.1%, 47.7%, 0%, 49.8%)
CIE-LABlab(29.33, 10.82, -37.81)
CIE-LCHlch(29.33, 39.32, 285.97°)
OKLaboklab(39.43% -0.0138 -0.1082)
OKLCHoklch(39.43% 0.109 262.7)
XYZxyz(6.6650, 5.9655, 21.2181)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254380 #806225
analogous
#257180 #254380 #352580
triadic
#254380 #802543 #438025
tetradic
#254380 #802571 #806225 #258035
square
#254380 #802571 #806225 #258035
split-complementary
#254380 #803525 #718025
monochromatic
#0A1121 #172A51 #254380 #335CAF #527BCD

Accessibility & contrast

On white

9.58
#254380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#254380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254380
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254380#FFFFFF#000000##FFFFFF
##2543801.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A82
Deuteranopia (green-blind)
#12417F
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254380;
/* rgb */ color: rgb(37, 67, 128);
/* oklch */ color: oklch(39.4% 0.109 262.7);
Tailwind
colors: {
  custom: {
    50: '#6b76a5',
    500: '#254380',
    950: '#000000',
  },
}
SCSS
$custom: #254380;
$custom-light: #6b76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#254380",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 220.22,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.10911,
    "h": 262.7
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#254380
secondary
#B19150
accent
#AD49DE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254380

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

Preview Lab → · Contrast checker → · Palette generator →

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