#231783#231783

#231783 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.167 H 275.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#231783
RGBrgb(35, 23, 131)
HSLhsl(247, 70%, 30%)
HSVhsv(247, 82%, 51%)
CMYKcmyk(73.3%, 82.4%, 0%, 48.6%)
CIE-LABlab(18.40, 40.24, -57.52)
CIE-LCHlch(18.40, 70.20, 304.98°)
OKLaboklab(31.44% 0.0169 -0.1663)
OKLCHoklch(31.44% 0.167 275.8)
XYZxyz(5.0949, 2.6083, 21.7033)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231783 #778317
analogous
#174183 #231783 #591783
triadic
#231783 #832317 #178323
tetradic
#231783 #831741 #778317 #178359
square
#231783 #831741 #778317 #178359
split-complementary
#231783 #835917 #418317
monochromatic
#07051B #150E4F #231783 #3120B7 #4A38DC

Accessibility & contrast

On white

13.80
#231783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#231783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231783
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231783#FFFFFF#000000##FFFFFF
##2317831.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231783;
/* rgb */ color: rgb(35, 23, 131);
/* oklch */ color: oklch(31.4% 0.167 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f57a8',
    500: '#231783',
    950: '#000000',
  },
}
SCSS
$custom: #231783;
$custom-light: #6f57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231783",
  "rgb": {
    "r": 35,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 246.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.16713,
    "h": 275.8
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#231783
secondary
#AAB73F
accent
#ED3BD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #231783

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

Preview Lab → · Contrast checker → · Palette generator →

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