#231682#231682

#231682 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.167 H 276.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#231682
RGBrgb(35, 22, 130)
HSLhsl(247, 71%, 30%)
HSVhsv(247, 83%, 51%)
CMYKcmyk(73.1%, 83.1%, 0%, 49%)
CIE-LABlab(18.11, 40.42, -57.37)
CIE-LCHlch(18.11, 70.18, 305.17°)
OKLaboklab(31.2% 0.0176 -0.1658)
OKLCHoklch(31.2% 0.167 276.1)
XYZxyz(5.0080, 2.5424, 21.3416)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231682 #758216
analogous
#163F82 #231682 #591682
triadic
#231682 #822316 #168223
tetradic
#231682 #82163F #758216 #168259
square
#231682 #82163F #758216 #168259
split-complementary
#231682 #825916 #3F8216
monochromatic
#07041A #150D4E #231682 #311FB6 #4A35DD

Accessibility & contrast

On white

13.92
#231682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231682
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231682#FFFFFF#000000##FFFFFF
##2316821.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231682;
/* rgb */ color: rgb(35, 22, 130);
/* oklch */ color: oklch(31.2% 0.167 276.1);
Tailwind
colors: {
  custom: {
    50: '#6f57a8',
    500: '#231682',
    950: '#000000',
  },
}
SCSS
$custom: #231682;
$custom-light: #6f57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231682",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 247.222,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31201,
    "c": 0.16676,
    "h": 276.1
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#231682
secondary
#A8B73D
accent
#EE3AD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #231682

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

Preview Lab → · Contrast checker → · Palette generator →

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