#254B86#254B86

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

Color values

HEX#254B86
RGBrgb(37, 75, 134)
HSLhsl(216, 57%, 34%)
HSVhsv(216, 72%, 53%)
CMYKcmyk(72.4%, 44%, 0%, 47.5%)
CIE-LABlab(32.14, 7.74, -37.02)
CIE-LCHlch(32.14, 37.82, 281.80°)
OKLaboklab(41.73% -0.0206 -0.1058)
OKLCHoklch(41.73% 0.108 259)
XYZxyz(7.5805, 7.1459, 23.5294)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B86 #866025
analogous
#257B86 #254B86 #2F2586
triadic
#254B86 #86254B #4B8625
tetradic
#254B86 #86257B #866025 #25862F
square
#254B86 #86257B #866025 #25862F
split-complementary
#254B86 #862F25 #7B8625
monochromatic
#0B1526 #183056 #254B86 #3266B6 #5585D0

Accessibility & contrast

On white

8.64
#254B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#254B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B86
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B86#FFFFFF#000000##FFFFFF
##254B861.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5088
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254b86;
/* rgb */ color: rgb(37, 75, 134);
/* oklch */ color: oklch(41.7% 0.108 259.0);
Tailwind
colors: {
  custom: {
    50: '#6c7ca9',
    500: '#254b86',
    950: '#000000',
  },
}
SCSS
$custom: #254b86;
$custom-light: #6c7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#254b86",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 134
  },
  "hsl": {
    "h": 216.495,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.10778,
    "h": 259
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#254B86
secondary
#B48E52
accent
#A448E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254B86

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

Preview Lab → · Contrast checker → · Palette generator →

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