#254374#254374

#254374 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.091 H 259.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#254374
RGBrgb(37, 67, 116)
HSLhsl(217, 52%, 30%)
HSVhsv(217, 68%, 45%)
CMYKcmyk(68.1%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.56, 6.15, -31.50)
CIE-LCHlch(28.56, 32.10, 281.04°)
OKLaboklab(38.6% -0.0163 -0.0897)
OKLCHoklch(38.6% 0.091 259.7)
XYZxyz(5.9214, 5.6680, 17.3016)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254374 #745625
analogous
#256B74 #254374 #2E2574
triadic
#254374 #742543 #437425
tetradic
#254374 #74256B #745625 #25742E
square
#254374 #74256B #745625 #25742E
split-complementary
#254374 #742E25 #6B7425
monochromatic
#070D17 #162846 #254374 #345EA2 #4D7BC6

Accessibility & contrast

On white

9.84
#254374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#254374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254374
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254374#FFFFFF#000000##FFFFFF
##2543741.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#214073
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254374;
/* rgb */ color: rgb(37, 67, 116);
/* oklch */ color: oklch(38.6% 0.091 259.7);
Tailwind
colors: {
  custom: {
    50: '#69769c',
    500: '#254374',
    950: '#000000',
  },
}
SCSS
$custom: #254374;
$custom-light: #69769c;
$custom-dark: #000000;
JSON
{
  "hex": "#254374",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 217.215,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.38595,
    "c": 0.09117,
    "h": 259.7
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#254374
secondary
#A7854E
accent
#A54DDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254374

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

Preview Lab → · Contrast checker → · Palette generator →

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