#231683#231683

#231683 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.168 H 275.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#231683
RGBrgb(35, 22, 131)
HSLhsl(247, 71%, 30%)
HSVhsv(247, 83%, 51%)
CMYKcmyk(73.3%, 83.2%, 0%, 48.6%)
CIE-LABlab(18.23, 40.74, -57.80)
CIE-LCHlch(18.23, 70.72, 305.18°)
OKLaboklab(31.32% 0.0173 -0.1671)
OKLCHoklch(31.32% 0.168 275.9)
XYZxyz(5.0754, 2.5694, 21.6968)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231683 #768316
analogous
#163F83 #231683 #5A1683
triadic
#231683 #832316 #168323
tetradic
#231683 #83163F #768316 #16835A
square
#231683 #83163F #768316 #16835A
split-complementary
#231683 #835A16 #3F8316
monochromatic
#07041A #150D4F #231683 #311FB7 #4A36DD

Accessibility & contrast

On white

13.87
#231683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231683
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231683#FFFFFF#000000##FFFFFF
##2316831.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231683;
/* rgb */ color: rgb(35, 22, 131);
/* oklch */ color: oklch(31.3% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#6f57a8',
    500: '#231683',
    950: '#000000',
  },
}
SCSS
$custom: #231683;
$custom-light: #6f57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231683",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 247.156,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.3132,
    "c": 0.16799,
    "h": 275.9
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#231683
secondary
#A9B73D
accent
#EE3AD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #231683

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

Preview Lab → · Contrast checker → · Palette generator →

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