#252A6B#252A6B

#252A6B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.112 H 274.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#252A6B
RGBrgb(37, 42, 107)
HSLhsl(236, 49%, 28%)
HSVhsv(236, 65%, 42%)
CMYKcmyk(65.4%, 60.7%, 0%, 58%)
CIE-LABlab(20.48, 20.14, -38.73)
CIE-LCHlch(20.48, 43.65, 297.48°)
OKLaboklab(32.25% 0.0096 -0.1113)
OKLCHoklch(32.25% 0.112 274.9)
XYZxyz(4.2439, 3.1104, 14.2838)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A6B #6B6625
analogous
#254D6B #252A6B #43256B
triadic
#252A6B #6B252A #2A6B25
tetradic
#252A6B #6B254D #6B6625 #256B43
square
#252A6B #6B254D #6B6625 #256B43
split-complementary
#252A6B #6B4325 #4D6B25
monochromatic
#080917 #15183E #252A6B #353C98 #4A52C0

Accessibility & contrast

On white

12.95
#252A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#252A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A6B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A6B#FFFFFF#000000##FFFFFF
##252A6B1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252a6b;
/* rgb */ color: rgb(37, 42, 107);
/* oklch */ color: oklch(32.2% 0.112 274.9);
Tailwind
colors: {
  custom: {
    50: '#686396',
    500: '#252a6b',
    950: '#000000',
  },
}
SCSS
$custom: #252a6b;
$custom-light: #686396;
$custom-dark: #000000;
JSON
{
  "hex": "#252a6b",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 235.714,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32247,
    "c": 0.11172,
    "h": 274.9
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#252A6B
secondary
#9E984E
accent
#CE50D8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #252A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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