#252B86#252B86

#252B86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.149 H 272.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#252B86
RGBrgb(37, 43, 134)
HSLhsl(236, 57%, 34%)
HSVhsv(236, 72%, 53%)
CMYKcmyk(72.4%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.14, 29.58, -51.59)
CIE-LCHlch(23.14, 59.47, 299.83°)
OKLaboklab(34.95% 0.0074 -0.149)
OKLCHoklch(34.95% 0.149 272.8)
XYZxyz(5.9285, 3.8417, 22.9787)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B86 #868025
analogous
#255B86 #252B86 #4F2586
triadic
#252B86 #86252B #2B8625
tetradic
#252B86 #86255B #868025 #25864F
square
#252B86 #86255B #868025 #25864F
split-complementary
#252B86 #864F25 #5B8625
monochromatic
#0B0C26 #181C56 #252B86 #323AB6 #555DD0

Accessibility & contrast

On white

11.88
#252B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#252B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B86
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B86#FFFFFF#000000##FFFFFF
##252B861.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252b86;
/* rgb */ color: rgb(37, 43, 134);
/* oklch */ color: oklch(34.9% 0.149 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e64aa',
    500: '#252b86',
    950: '#000000',
  },
}
SCSS
$custom: #252b86;
$custom-light: #6e64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#252b86",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 236.289,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.14923,
    "h": 272.8
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#252B86
secondary
#B4AE52
accent
#D748E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252B86

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

Preview Lab → · Contrast checker → · Palette generator →

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