#252876#252876

#252876 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.131 H 274.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#252876
RGBrgb(37, 40, 118)
HSLhsl(238, 52%, 30%)
HSVhsv(238, 69%, 46%)
CMYKcmyk(68.6%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.90, 25.65, -45.13)
CIE-LCHlch(20.90, 51.91, 299.61°)
OKLaboklab(32.85% 0.0111 -0.1301)
OKLCHoklch(32.85% 0.131 274.9)
XYZxyz(4.7907, 3.2185, 17.5048)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252876 #767325
analogous
#255076 #252876 #4A2576
triadic
#252876 #762528 #287625
tetradic
#252876 #762550 #767325 #25764A
square
#252876 #762550 #767325 #25764A
split-complementary
#252876 #764A25 #507625
monochromatic
#080819 #161847 #252876 #3438A5 #4E52C7

Accessibility & contrast

On white

12.78
#252876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252876
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252876#FFFFFF#000000##FFFFFF
##2528761.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252876;
/* rgb */ color: rgb(37, 40, 118);
/* oklch */ color: oklch(32.9% 0.131 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b629e',
    500: '#252876',
    950: '#000000',
  },
}
SCSS
$custom: #252876;
$custom-light: #6b629e;
$custom-dark: #000000;
JSON
{
  "hex": "#252876",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 237.778,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.13062,
    "h": 274.9
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#252876
secondary
#A9A54E
accent
#D64CDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252876

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

Preview Lab → · Contrast checker → · Palette generator →

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