#254073#254073

#254073 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.093 H 261.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#254073
RGBrgb(37, 64, 115)
HSLhsl(219, 51%, 30%)
HSVhsv(219, 68%, 45%)
CMYKcmyk(67.8%, 44.3%, 0%, 54.9%)
CIE-LABlab(27.57, 7.81, -32.45)
CIE-LCHlch(27.57, 33.38, 283.53°)
OKLaboklab(37.81% -0.0132 -0.0925)
OKLCHoklch(37.81% 0.093 261.9)
XYZxyz(5.6898, 5.2974, 16.9390)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254073 #735825
analogous
#256773 #254073 #312573
triadic
#254073 #732540 #407325
tetradic
#254073 #732567 #735825 #257331
square
#254073 #732567 #735825 #257331
split-complementary
#254073 #733125 #677325
monochromatic
#070D17 #162645 #254073 #345AA1 #4D77C6

Accessibility & contrast

On white

10.20
#254073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#254073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254073
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254073#FFFFFF#000000##FFFFFF
##2540731.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#1C3E72
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254073;
/* rgb */ color: rgb(37, 64, 115);
/* oklch */ color: oklch(37.8% 0.093 261.9);
Tailwind
colors: {
  custom: {
    50: '#68749b',
    500: '#254073',
    950: '#000000',
  },
}
SCSS
$custom: #254073;
$custom-light: #68749b;
$custom-dark: #000000;
JSON
{
  "hex": "#254073",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 219.231,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37807,
    "c": 0.09348,
    "h": 261.9
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#254073
secondary
#A6874E
accent
#AA4DDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254073

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

Preview Lab → · Contrast checker → · Palette generator →

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