#254889#254889

#254889 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.116 H 261.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#254889
RGBrgb(37, 72, 137)
HSLhsl(219, 57%, 34%)
HSVhsv(219, 73%, 54%)
CMYKcmyk(73%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.42, 10.94, -40.01)
CIE-LCHlch(31.42, 41.48, 285.29°)
OKLaboklab(41.24% -0.0171 -0.1146)
OKLCHoklch(41.24% 0.116 261.5)
XYZxyz(7.5941, 6.8334, 24.5808)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254889 #896625
analogous
#257A89 #254889 #342589
triadic
#254889 #892548 #488925
tetradic
#254889 #89257A #896625 #258934
square
#254889 #89257A #896625 #258934
split-complementary
#254889 #893425 #7A8925
monochromatic
#0B1529 #182F59 #254889 #3261B9 #5782D2

Accessibility & contrast

On white

8.87
#254889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254889
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254889#FFFFFF#000000##FFFFFF
##2548891.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8B
Deuteranopia (green-blind)
#114688
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254889;
/* rgb */ color: rgb(37, 72, 137);
/* oklch */ color: oklch(41.2% 0.116 261.5);
Tailwind
colors: {
  custom: {
    50: '#6d7aac',
    500: '#254889',
    950: '#000000',
  },
}
SCSS
$custom: #254889;
$custom-light: #6d7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#254889",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 219,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.1159,
    "h": 261.5
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#254889
secondary
#B69454
accent
#AB47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #254889

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

Preview Lab → · Contrast checker → · Palette generator →

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