#254A89#254A89

#254A89 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.113 H 260.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#254A89
RGBrgb(37, 74, 137)
HSLhsl(218, 57%, 34%)
HSVhsv(218, 73%, 54%)
CMYKcmyk(73%, 46%, 0%, 46.3%)
CIE-LABlab(32.02, 9.58, -39.05)
CIE-LCHlch(32.02, 40.21, 283.79°)
OKLaboklab(41.7% -0.019 -0.1118)
OKLCHoklch(41.7% 0.113 260.3)
XYZxyz(7.7255, 7.0962, 24.6246)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A89 #896425
analogous
#257C89 #254A89 #322589
triadic
#254A89 #89254A #4A8925
tetradic
#254A89 #89257C #896425 #258932
square
#254A89 #89257C #896425 #258932
split-complementary
#254A89 #893225 #7C8925
monochromatic
#0B1629 #183059 #254A89 #3264B9 #5784D2

Accessibility & contrast

On white

8.68
#254A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#254A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A89
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A89#FFFFFF#000000##FFFFFF
##254A891.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254a89;
/* rgb */ color: rgb(37, 74, 137);
/* oklch */ color: oklch(41.7% 0.113 260.3);
Tailwind
colors: {
  custom: {
    50: '#6d7cac',
    500: '#254a89',
    950: '#000000',
  },
}
SCSS
$custom: #254a89;
$custom-light: #6d7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#254a89",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 217.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.11338,
    "h": 260.3
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#254A89
secondary
#B69254
accent
#A847E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #254A89

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

Preview Lab → · Contrast checker → · Palette generator →

#254A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva