#252083#252083

#252083 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.158 H 275.5°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#252083
RGBrgb(37, 32, 131)
HSLhsl(243, 61%, 32%)
HSVhsv(243, 76%, 51%)
CMYKcmyk(71.8%, 75.6%, 0%, 48.6%)
CIE-LABlab(20.30, 35.45, -54.37)
CIE-LCHlch(20.30, 64.91, 303.10°)
OKLaboklab(32.81% 0.0151 -0.1572)
OKLCHoklch(32.81% 0.158 275.5)
XYZxyz(5.3748, 3.0645, 21.7766)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252083 #7E8320
analogous
#204D83 #252083 #572083
triadic
#252083 #832520 #208325
tetradic
#252083 #83204D #7E8320 #208357
square
#252083 #83204D #7E8320 #208357
split-complementary
#252083 #835720 #4D8320
monochromatic
#090821 #171452 #252083 #332CB4 #514AD3

Accessibility & contrast

On white

13.02
#252083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252083
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252083#FFFFFF#000000##FFFFFF
##2520831.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252083;
/* rgb */ color: rgb(37, 32, 131);
/* oklch */ color: oklch(32.8% 0.158 275.5);
Tailwind
colors: {
  custom: {
    50: '#6f5da8',
    500: '#252083',
    950: '#000000',
  },
}
SCSS
$custom: #252083;
$custom-light: #6f5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#252083",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 243.03,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32813,
    "c": 0.1579,
    "h": 275.5
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#252083
secondary
#B0B649
accent
#E444DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252083

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

Preview Lab → · Contrast checker → · Palette generator →

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