#231983#231983

#231983 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.165 H 275.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#231983
RGBrgb(35, 25, 131)
HSLhsl(246, 68%, 31%)
HSVhsv(246, 81%, 51%)
CMYKcmyk(73.3%, 80.9%, 0%, 48.6%)
CIE-LABlab(18.76, 39.20, -56.92)
CIE-LCHlch(18.76, 69.12, 304.56°)
OKLaboklab(31.69% 0.016 -0.1646)
OKLCHoklch(31.69% 0.165 275.6)
XYZxyz(5.1362, 2.6908, 21.7170)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231983 #798319
analogous
#194483 #231983 #581983
triadic
#231983 #832319 #198323
tetradic
#231983 #831944 #798319 #198358
square
#231983 #831944 #798319 #198358
split-complementary
#231983 #835819 #448319
monochromatic
#08051C #150F50 #231983 #3123B6 #4B3DDA

Accessibility & contrast

On white

13.65
#231983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#231983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231983
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231983#FFFFFF#000000##FFFFFF
##2319831.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231983;
/* rgb */ color: rgb(35, 25, 131);
/* oklch */ color: oklch(31.7% 0.165 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e59a8',
    500: '#231983',
    950: '#000000',
  },
}
SCSS
$custom: #231983;
$custom-light: #6e59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231983",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 245.66,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.16536,
    "h": 275.6
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231983

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

Preview Lab → · Contrast checker → · Palette generator →

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