#231883#231883

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

Color values

HEX#231883
RGBrgb(35, 24, 131)
HSLhsl(246, 69%, 30%)
HSVhsv(246, 82%, 51%)
CMYKcmyk(73.3%, 81.7%, 0%, 48.6%)
CIE-LABlab(18.58, 39.73, -57.22)
CIE-LCHlch(18.58, 69.66, 304.77°)
OKLaboklab(31.56% 0.0165 -0.1654)
OKLCHoklch(31.56% 0.166 275.7)
XYZxyz(5.1152, 2.6488, 21.7100)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231883 #788318
analogous
#184383 #231883 #581883
triadic
#231883 #832318 #188323
tetradic
#231883 #831843 #788318 #188358
square
#231883 #831843 #788318 #188358
split-complementary
#231883 #835818 #438318
monochromatic
#07051C #150F4F #231883 #3121B7 #4B3ADB

Accessibility & contrast

On white

13.73
#231883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231883
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231883#FFFFFF#000000##FFFFFF
##2318831.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231883;
/* rgb */ color: rgb(35, 24, 131);
/* oklch */ color: oklch(31.6% 0.166 275.7);
Tailwind
colors: {
  custom: {
    50: '#6f58a8',
    500: '#231883',
    950: '#000000',
  },
}
SCSS
$custom: #231883;
$custom-light: #6f58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231883",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 246.168,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31563,
    "c": 0.16626,
    "h": 275.7
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#231883
secondary
#ABB740
accent
#EC3CDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #231883

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

Preview Lab → · Contrast checker → · Palette generator →

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