#254169#254169

#254169 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.077 H 257.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#254169
RGBrgb(37, 65, 105)
HSLhsl(215, 48%, 28%)
HSVhsv(215, 65%, 41%)
CMYKcmyk(64.8%, 38.1%, 0%, 58.8%)
CIE-LABlab(27.28, 3.29, -26.54)
CIE-LCHlch(27.28, 26.75, 277.07°)
OKLaboklab(37.39% -0.0168 -0.0752)
OKLCHoklch(37.39% 0.077 257.4)
XYZxyz(5.2021, 5.1934, 14.0901)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254169 #694D25
analogous
#256369 #254169 #2B2569
triadic
#254169 #692541 #416925
tetradic
#254169 #692563 #694D25 #25692B
square
#254169 #692563 #694D25 #25692B
split-complementary
#254169 #692B25 #636925
monochromatic
#080E17 #15253C #254169 #355D96 #497ABF

Accessibility & contrast

On white

10.30
#254169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#254169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254169
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254169#FFFFFF#000000##FFFFFF
##2541691.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446B
Deuteranopia (green-blind)
#273E68
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #254169;
/* rgb */ color: rgb(37, 65, 105);
/* oklch */ color: oklch(37.4% 0.077 257.4);
Tailwind
colors: {
  custom: {
    50: '#677594',
    500: '#254169',
    950: '#000000',
  },
}
SCSS
$custom: #254169;
$custom-light: #677594;
$custom-dark: #000000;
JSON
{
  "hex": "#254169",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 105
  },
  "hsl": {
    "h": 215.294,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37389,
    "c": 0.07708,
    "h": 257.4
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#254169
secondary
#9C7C4E
accent
#A050D7
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #254169

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

Preview Lab → · Contrast checker → · Palette generator →

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