#252E86#252E86

#252E86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.146 H 272.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#252E86
RGBrgb(37, 46, 134)
HSLhsl(234, 57%, 34%)
HSVhsv(234, 72%, 53%)
CMYKcmyk(72.4%, 65.7%, 0%, 47.5%)
CIE-LABlab(23.89, 27.59, -50.36)
CIE-LCHlch(23.89, 57.42, 298.71°)
OKLaboklab(35.5% 0.0052 -0.1454)
OKLCHoklch(35.5% 0.146 272.1)
XYZxyz(6.0416, 4.0679, 23.0164)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E86 #867D25
analogous
#255E86 #252E86 #4C2586
triadic
#252E86 #86252E #2E8625
tetradic
#252E86 #86255E #867D25 #25864C
square
#252E86 #86255E #867D25 #25864C
split-complementary
#252E86 #864C25 #5E8625
monochromatic
#0B0D26 #181E56 #252E86 #323EB6 #5561D0

Accessibility & contrast

On white

11.58
#252E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#252E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E86
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E86#FFFFFF#000000##FFFFFF
##252E861.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252e86;
/* rgb */ color: rgb(37, 46, 134);
/* oklch */ color: oklch(35.5% 0.146 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e66aa',
    500: '#252e86',
    950: '#000000',
  },
}
SCSS
$custom: #252e86;
$custom-light: #6e66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252e86",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 234.433,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.14551,
    "h": 272.1
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#252E86
secondary
#B4AB52
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E86

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

Preview Lab → · Contrast checker → · Palette generator →

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