#252379#252379

#252379 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.141 H 276.0°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#252379
RGBrgb(37, 35, 121)
HSLhsl(241, 55%, 31%)
HSVhsv(241, 71%, 47%)
CMYKcmyk(69.4%, 71.1%, 0%, 52.5%)
CIE-LABlab(19.95, 30.06, -48.61)
CIE-LCHlch(19.95, 57.15, 301.73°)
OKLaboklab(32.25% 0.0148 -0.1404)
OKLCHoklch(32.25% 0.141 276)
XYZxyz(4.8140, 2.9754, 18.4061)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252379 #777923
analogous
#234C79 #252379 #502379
triadic
#252379 #792523 #237925
tetradic
#252379 #79234C #777923 #237950
square
#252379 #79234C #777923 #237950
split-complementary
#252379 #795023 #4C7923
monochromatic
#08081A #16154A #252379 #3431A8 #4E4BCB

Accessibility & contrast

On white

13.16
#252379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#252379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252379
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252379#FFFFFF#000000##FFFFFF
##2523791.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252379;
/* rgb */ color: rgb(37, 35, 121);
/* oklch */ color: oklch(32.2% 0.141 276.0);
Tailwind
colors: {
  custom: {
    50: '#6c5ea1',
    500: '#252379',
    950: '#000000',
  },
}
SCSS
$custom: #252379;
$custom-light: #6c5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#252379",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 241.395,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32247,
    "c": 0.14114,
    "h": 276
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#252379
secondary
#A9AC4C
accent
#DE49DB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #252379

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

Preview Lab → · Contrast checker → · Palette generator →

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