#252679#252679

#252679 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.137 H 275.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#252679
RGBrgb(37, 38, 121)
HSLhsl(239, 53%, 31%)
HSVhsv(239, 69%, 47%)
CMYKcmyk(69.4%, 68.6%, 0%, 52.5%)
CIE-LABlab(20.67, 28.10, -47.42)
CIE-LCHlch(20.67, 55.12, 300.65°)
OKLaboklab(32.77% 0.0125 -0.1369)
OKLCHoklch(32.77% 0.137 275.2)
XYZxyz(4.9061, 3.1596, 18.4368)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252679 #797825
analogous
#255079 #252679 #4E2579
triadic
#252679 #792526 #267925
tetradic
#252679 #792550 #797825 #25794E
square
#252679 #792550 #797825 #25794E
split-complementary
#252679 #794E25 #507925
monochromatic
#08091B #17174A #252679 #3335A8 #4F51C9

Accessibility & contrast

On white

12.87
#252679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#252679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252679
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252679#FFFFFF#000000##FFFFFF
##2526791.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252679;
/* rgb */ color: rgb(37, 38, 121);
/* oklch */ color: oklch(32.8% 0.137 275.2);
Tailwind
colors: {
  custom: {
    50: '#6c60a1',
    500: '#252679',
    950: '#000000',
  },
}
SCSS
$custom: #252679;
$custom-light: #6c60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#252679",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 239.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32774,
    "c": 0.13743,
    "h": 275.2
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#252679
secondary
#ABAA4E
accent
#DB4BDD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #252679

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

Preview Lab → · Contrast checker → · Palette generator →

#252679 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva