#254076#254076

#254076 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.098 H 262.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#254076
RGBrgb(37, 64, 118)
HSLhsl(220, 52%, 30%)
HSVhsv(220, 69%, 46%)
CMYKcmyk(68.6%, 45.8%, 0%, 53.7%)
CIE-LABlab(27.76, 8.98, -34.04)
CIE-LCHlch(27.76, 35.21, 284.77°)
OKLaboklab(38.02% -0.0125 -0.0972)
OKLCHoklch(38.02% 0.098 262.7)
XYZxyz(5.8652, 5.3675, 17.8630)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254076 #765B25
analogous
#256876 #254076 #322576
triadic
#254076 #762540 #407625
tetradic
#254076 #762568 #765B25 #257632
square
#254076 #762568 #765B25 #257632
split-complementary
#254076 #763225 #687625
monochromatic
#080D19 #162747 #254076 #3459A5 #4E76C7

Accessibility & contrast

On white

10.13
#254076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#254076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254076
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254076#FFFFFF#000000##FFFFFF
##2540761.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264678
Deuteranopia (green-blind)
#193E75
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254076;
/* rgb */ color: rgb(37, 64, 118);
/* oklch */ color: oklch(38.0% 0.098 262.7);
Tailwind
colors: {
  custom: {
    50: '#69749e',
    500: '#254076',
    950: '#000000',
  },
}
SCSS
$custom: #254076;
$custom-light: #69749e;
$custom-dark: #000000;
JSON
{
  "hex": "#254076",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 220,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38017,
    "c": 0.09803,
    "h": 262.7
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#254076
secondary
#A98A4E
accent
#AC4CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254076

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

Preview Lab → · Contrast checker → · Palette generator →

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