#252168#252168

#252168 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.120 H 279.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#252168
RGBrgb(37, 33, 104)
HSLhsl(243, 52%, 27%)
HSVhsv(243, 68%, 41%)
CMYKcmyk(64.4%, 68.3%, 0%, 59.2%)
CIE-LABlab(17.83, 25.23, -41.09)
CIE-LCHlch(17.83, 48.21, 301.55°)
OKLaboklab(30.21% 0.0186 -0.1183)
OKLCHoklch(30.21% 0.12 279)
XYZxyz(3.8047, 2.4802, 13.3723)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252168 #646821
analogous
#214168 #252168 #492168
triadic
#252168 #682521 #216825
tetradic
#252168 #682141 #646821 #216849
square
#252168 #682141 #646821 #216849
split-complementary
#252168 #684921 #416821
monochromatic
#080717 #14123A #252168 #363096 #4841C3

Accessibility & contrast

On white

14.04
#252168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#252168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252168
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252168#FFFFFF#000000##FFFFFF
##2521681.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #252168;
/* rgb */ color: rgb(37, 33, 104);
/* oklch */ color: oklch(30.2% 0.120 279.0);
Tailwind
colors: {
  custom: {
    50: '#685c94',
    500: '#252168',
    950: '#000000',
  },
}
SCSS
$custom: #252168;
$custom-light: #685c94;
$custom-dark: #000000;
JSON
{
  "hex": "#252168",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 243.38,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30214,
    "c": 0.11978,
    "h": 279
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#252168
secondary
#979C49
accent
#DB4DD3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #252168

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

Preview Lab → · Contrast checker → · Palette generator →

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