#252F86#252F86

#252F86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.144 H 271.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#252F86
RGBrgb(37, 47, 134)
HSLhsl(234, 57%, 34%)
HSVhsv(234, 72%, 53%)
CMYKcmyk(72.4%, 64.9%, 0%, 47.5%)
CIE-LABlab(24.15, 26.91, -49.94)
CIE-LCHlch(24.15, 56.73, 298.32°)
OKLaboklab(35.69% 0.0045 -0.1442)
OKLCHoklch(35.69% 0.144 271.8)
XYZxyz(6.0811, 4.1470, 23.0296)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F86 #867C25
analogous
#255F86 #252F86 #4B2586
triadic
#252F86 #86252F #2F8625
tetradic
#252F86 #86255F #867C25 #25864B
square
#252F86 #86255F #867C25 #25864B
split-complementary
#252F86 #864B25 #5F8625
monochromatic
#0B0D26 #181E56 #252F86 #3240B6 #5562D0

Accessibility & contrast

On white

11.48
#252F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#252F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F86
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F86#FFFFFF#000000##FFFFFF
##252F861.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252f86;
/* rgb */ color: rgb(37, 47, 134);
/* oklch */ color: oklch(35.7% 0.144 271.8);
Tailwind
colors: {
  custom: {
    50: '#6e67aa',
    500: '#252f86',
    950: '#000000',
  },
}
SCSS
$custom: #252f86;
$custom-light: #6e67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252f86",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 233.814,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35688,
    "c": 0.14425,
    "h": 271.8
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#252F86
secondary
#B4AA52
accent
#D048E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252F86

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

Preview Lab → · Contrast checker → · Palette generator →

#252F86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva