#252283#252283

#252283 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.156 H 275.1°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#252283
RGBrgb(37, 34, 131)
HSLhsl(242, 59%, 32%)
HSVhsv(242, 74%, 51%)
CMYKcmyk(71.8%, 74%, 0%, 48.6%)
CIE-LABlab(20.73, 34.24, -53.66)
CIE-LCHlch(20.73, 63.65, 302.54°)
OKLaboklab(33.12% 0.0139 -0.1551)
OKLCHoklch(33.12% 0.156 275.1)
XYZxyz(5.4304, 3.1756, 21.7951)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252283 #808322
analogous
#224F83 #252283 #562283
triadic
#252283 #832522 #228325
tetradic
#252283 #83224F #808322 #228356
square
#252283 #83224F #808322 #228356
split-complementary
#252283 #835622 #4F8322
monochromatic
#0A0922 #171552 #252283 #332FB4 #524ED1

Accessibility & contrast

On white

12.84
#252283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252283
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252283#FFFFFF#000000##FFFFFF
##2522831.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252283;
/* rgb */ color: rgb(37, 34, 131);
/* oklch */ color: oklch(33.1% 0.156 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e5ea8',
    500: '#252283',
    950: '#000000',
  },
}
SCSS
$custom: #252283;
$custom-light: #6e5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#252283",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 241.856,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33121,
    "c": 0.15573,
    "h": 275.1
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#252283
secondary
#B1B44C
accent
#E246DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252283

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

Preview Lab → · Contrast checker → · Palette generator →

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