#252256#252256

#252256 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.091 H 281.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#252256
RGBrgb(37, 34, 86)
HSLhsl(243, 43%, 24%)
HSVhsv(243, 60%, 34%)
CMYKcmyk(57%, 60.5%, 0%, 66.3%)
CIE-LABlab(16.55, 17.97, -31.23)
CIE-LCHlch(16.55, 36.03, 299.92°)
OKLaboklab(28.79% 0.0184 -0.0893)
OKLCHoklch(28.79% 0.091 281.6)
XYZxyz(3.0142, 2.2091, 9.0699)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252256 #535622
analogous
#223956 #252256 #3F2256
triadic
#252256 #562522 #225625
tetradic
#252256 #562239 #535622 #22563F
square
#252256 #562239 #535622 #22563F
split-complementary
#252256 #563F22 #395622
monochromatic
#090916 #12112A #252256 #383382 #4B45AE

Accessibility & contrast

On white

14.57
#252256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#252256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252256
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252256#FFFFFF#000000##FFFFFF
##2522561.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#102E38
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #252256;
/* rgb */ color: rgb(37, 34, 86);
/* oklch */ color: oklch(28.8% 0.091 281.6);
Tailwind
colors: {
  custom: {
    50: '#645d86',
    500: '#252256',
    950: '#000000',
  },
}
SCSS
$custom: #252256;
$custom-light: #645d86;
$custom-dark: #000000;
JSON
{
  "hex": "#252256",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 243.462,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28787,
    "c": 0.0912,
    "h": 281.6
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#252256
secondary
#868A4A
accent
#D355CC
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #252256

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

Preview Lab → · Contrast checker → · Palette generator →

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