#252183#252183

#252183 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.157 H 275.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#252183
RGBrgb(37, 33, 131)
HSLhsl(242, 60%, 32%)
HSVhsv(242, 75%, 51%)
CMYKcmyk(71.8%, 74.8%, 0%, 48.6%)
CIE-LABlab(20.52, 34.85, -54.02)
CIE-LCHlch(20.52, 64.29, 302.83°)
OKLaboklab(32.97% 0.0145 -0.1561)
OKLCHoklch(32.97% 0.157 275.3)
XYZxyz(5.4022, 3.1192, 21.7857)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252183 #7F8321
analogous
#214E83 #252183 #562183
triadic
#252183 #832521 #218325
tetradic
#252183 #83214E #7F8321 #218356
square
#252183 #83214E #7F8321 #218356
split-complementary
#252183 #835621 #4E8321
monochromatic
#090821 #171552 #252183 #332DB4 #524CD2

Accessibility & contrast

On white

12.93
#252183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#252183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252183
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252183#FFFFFF#000000##FFFFFF
##2521831.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252183;
/* rgb */ color: rgb(37, 33, 131);
/* oklch */ color: oklch(33.0% 0.157 275.3);
Tailwind
colors: {
  custom: {
    50: '#6e5da8',
    500: '#252183',
    950: '#000000',
  },
}
SCSS
$custom: #252183;
$custom-light: #6e5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#252183",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 242.449,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.15682,
    "h": 275.3
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#252183
secondary
#B1B54B
accent
#E345DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252183

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

Preview Lab → · Contrast checker → · Palette generator →

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