#254378#254378

#254378 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.097 H 260.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#254378
RGBrgb(37, 67, 120)
HSLhsl(218, 53%, 31%)
HSVhsv(218, 69%, 47%)
CMYKcmyk(69.2%, 44.2%, 0%, 52.9%)
CIE-LABlab(28.81, 7.70, -33.63)
CIE-LCHlch(28.81, 34.50, 282.89°)
OKLaboklab(38.87% -0.0153 -0.0959)
OKLCHoklch(38.87% 0.097 260.9)
XYZxyz(6.1591, 5.7631, 18.5535)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254378 #785A25
analogous
#256C78 #254378 #302578
triadic
#254378 #782543 #437825
tetradic
#254378 #78256C #785A25 #257830
square
#254378 #78256C #785A25 #257830
split-complementary
#254378 #783025 #6C7825
monochromatic
#080F1A #172949 #254378 #335DA7 #4F7BC9

Accessibility & contrast

On white

9.75
#254378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#254378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254378
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254378#FFFFFF#000000##FFFFFF
##2543781.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#1D4077
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254378;
/* rgb */ color: rgb(37, 67, 120);
/* oklch */ color: oklch(38.9% 0.097 260.9);
Tailwind
colors: {
  custom: {
    50: '#69769f',
    500: '#254378',
    950: '#000000',
  },
}
SCSS
$custom: #254378;
$custom-light: #69769f;
$custom-dark: #000000;
JSON
{
  "hex": "#254378",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 218.313,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38868,
    "c": 0.09717,
    "h": 260.9
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#254378
secondary
#AA894E
accent
#A84CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254378

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

Preview Lab → · Contrast checker → · Palette generator →

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