#231982#231982

#231982 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.164 H 275.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#231982
RGBrgb(35, 25, 130)
HSLhsl(246, 68%, 30%)
HSVhsv(246, 81%, 51%)
CMYKcmyk(73.1%, 80.8%, 0%, 49%)
CIE-LABlab(18.64, 38.87, -56.48)
CIE-LCHlch(18.64, 68.57, 304.54°)
OKLaboklab(31.57% 0.0163 -0.1633)
OKLCHoklch(31.57% 0.164 275.7)
XYZxyz(5.0687, 2.6638, 21.3618)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231982 #788219
analogous
#194482 #231982 #571982
triadic
#231982 #822319 #198223
tetradic
#231982 #821944 #788219 #198257
square
#231982 #821944 #788219 #198257
split-complementary
#231982 #825719 #448219
monochromatic
#07051B #150F4F #231982 #3123B5 #4B3CD9

Accessibility & contrast

On white

13.70
#231982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#231982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231982
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231982#FFFFFF#000000##FFFFFF
##2319821.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231982;
/* rgb */ color: rgb(35, 25, 130);
/* oklch */ color: oklch(31.6% 0.164 275.7);
Tailwind
colors: {
  custom: {
    50: '#6e58a7',
    500: '#231982',
    950: '#000000',
  },
}
SCSS
$custom: #231982;
$custom-light: #6e58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#231982",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 245.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31574,
    "c": 0.16411,
    "h": 275.7
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#231982
secondary
#ABB641
accent
#EB3DDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #231982

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

Preview Lab → · Contrast checker → · Palette generator →

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