#252F84#252F84

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

Color values

HEX#252F84
RGBrgb(37, 47, 132)
HSLhsl(234, 56%, 33%)
HSVhsv(234, 72%, 52%)
CMYKcmyk(72%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.97, 26.16, -48.98)
CIE-LCHlch(23.97, 55.52, 298.11°)
OKLaboklab(35.5% 0.0046 -0.1414)
OKLCHoklch(35.5% 0.141 271.8)
XYZxyz(5.9429, 4.0917, 22.3019)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F84 #847A25
analogous
#255E84 #252F84 #4A2584
triadic
#252F84 #84252F #2F8425
tetradic
#252F84 #84255E #847A25 #25844A
square
#252F84 #84255E #847A25 #25844A
split-complementary
#252F84 #844A25 #5E8425
monochromatic
#0A0D24 #181E54 #252F84 #3240B4 #5461CF

Accessibility & contrast

On white

11.55
#252F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#252F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F84
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F84#FFFFFF#000000##FFFFFF
##252F841.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252f84;
/* rgb */ color: rgb(37, 47, 132);
/* oklch */ color: oklch(35.5% 0.141 271.8);
Tailwind
colors: {
  custom: {
    50: '#6d67a9',
    500: '#252f84',
    950: '#000000',
  },
}
SCSS
$custom: #252f84;
$custom-light: #6d67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252f84",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 233.684,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35501,
    "c": 0.14144,
    "h": 271.8
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252F84

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

Preview Lab → · Contrast checker → · Palette generator →

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