#254074#254074

#254074 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.095 H 262.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#254074
RGBrgb(37, 64, 116)
HSLhsl(219, 52%, 30%)
HSVhsv(219, 68%, 45%)
CMYKcmyk(68.1%, 44.8%, 0%, 54.5%)
CIE-LABlab(27.63, 8.20, -32.98)
CIE-LCHlch(27.63, 33.99, 283.96°)
OKLaboklab(37.88% -0.0129 -0.0941)
OKLCHoklch(37.88% 0.095 262.2)
XYZxyz(5.7476, 5.3205, 17.2437)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254074 #745925
analogous
#256774 #254074 #322574
triadic
#254074 #742540 #407425
tetradic
#254074 #742567 #745925 #257432
square
#254074 #742567 #745925 #257432
split-complementary
#254074 #743225 #677425
monochromatic
#070D17 #162646 #254074 #345AA2 #4D77C6

Accessibility & contrast

On white

10.17
#254074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254074
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254074#FFFFFF#000000##FFFFFF
##2540741.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254074;
/* rgb */ color: rgb(37, 64, 116);
/* oklch */ color: oklch(37.9% 0.095 262.2);
Tailwind
colors: {
  custom: {
    50: '#69749c',
    500: '#254074',
    950: '#000000',
  },
}
SCSS
$custom: #254074;
$custom-light: #69749c;
$custom-dark: #000000;
JSON
{
  "hex": "#254074",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 219.494,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.37877,
    "c": 0.095,
    "h": 262.2
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254074

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

Preview Lab → · Contrast checker → · Palette generator →

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