#252A86#252A86

#252A86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.150 H 273.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#252A86
RGBrgb(37, 42, 134)
HSLhsl(237, 57%, 34%)
HSVhsv(237, 72%, 53%)
CMYKcmyk(72.4%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.90, 30.24, -51.99)
CIE-LCHlch(22.90, 60.15, 300.18°)
OKLaboklab(34.77% 0.0081 -0.1502)
OKLCHoklch(34.77% 0.15 273.1)
XYZxyz(5.8925, 3.7699, 22.9668)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A86 #868125
analogous
#255A86 #252A86 #502586
triadic
#252A86 #86252A #2A8625
tetradic
#252A86 #86255A #868125 #258650
square
#252A86 #86255A #868125 #258650
split-complementary
#252A86 #865025 #5A8625
monochromatic
#0B0C26 #181B56 #252A86 #3239B6 #555CD0

Accessibility & contrast

On white

11.97
#252A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A86
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A86#FFFFFF#000000##FFFFFF
##252A861.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252a86;
/* rgb */ color: rgb(37, 42, 134);
/* oklch */ color: oklch(34.8% 0.150 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e64aa',
    500: '#252a86',
    950: '#000000',
  },
}
SCSS
$custom: #252a86;
$custom-light: #6e64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252a86",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 236.907,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3477,
    "c": 0.15046,
    "h": 273.1
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#252A86
secondary
#B4AF52
accent
#D848E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252A86

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

Preview Lab → · Contrast checker → · Palette generator →

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