#254A86#254A86

#254A86 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.109 H 259.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#254A86
RGBrgb(37, 74, 134)
HSLhsl(217, 57%, 34%)
HSVhsv(217, 72%, 53%)
CMYKcmyk(72.4%, 44.8%, 0%, 47.5%)
CIE-LABlab(31.83, 8.41, -37.51)
CIE-LCHlch(31.83, 38.44, 282.64°)
OKLaboklab(41.49% -0.0196 -0.1072)
OKLCHoklch(41.49% 0.109 259.6)
XYZxyz(7.5133, 7.0113, 23.5070)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A86 #866125
analogous
#257A86 #254A86 #302586
triadic
#254A86 #86254A #4A8625
tetradic
#254A86 #86257A #866125 #258630
square
#254A86 #86257A #866125 #258630
split-complementary
#254A86 #863025 #7A8625
monochromatic
#0B1526 #183056 #254A86 #3264B6 #5584D0

Accessibility & contrast

On white

8.74
#254A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#254A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A86
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A86#FFFFFF#000000##FFFFFF
##254A861.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5088
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254a86;
/* rgb */ color: rgb(37, 74, 134);
/* oklch */ color: oklch(41.5% 0.109 259.6);
Tailwind
colors: {
  custom: {
    50: '#6c7caa',
    500: '#254a86',
    950: '#000000',
  },
}
SCSS
$custom: #254a86;
$custom-light: #6c7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#254a86",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 217.113,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41491,
    "c": 0.10902,
    "h": 259.6
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#254A86
secondary
#B48F52
accent
#A648E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254A86

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

Preview Lab → · Contrast checker → · Palette generator →

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