#231680#231680

#231680 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.164 H 276.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#231680
RGBrgb(35, 22, 128)
HSLhsl(247, 71%, 29%)
HSVhsv(247, 83%, 50%)
CMYKcmyk(72.7%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.87, 39.78, -56.50)
CIE-LCHlch(17.87, 69.10, 305.15°)
OKLaboklab(30.96% 0.0182 -0.1633)
OKLCHoklch(30.96% 0.164 276.4)
XYZxyz(4.8751, 2.4892, 20.6414)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231680 #738016
analogous
#163E80 #231680 #581680
triadic
#231680 #802316 #168023
tetradic
#231680 #80163E #738016 #168058
square
#231680 #80163E #738016 #168058
split-complementary
#231680 #805816 #3E8016
monochromatic
#07041A #150D4C #231680 #311FB4 #4934DC

Accessibility & contrast

On white

14.02
#231680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#231680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231680
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231680#FFFFFF#000000##FFFFFF
##2316801.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231680;
/* rgb */ color: rgb(35, 22, 128);
/* oklch */ color: oklch(31.0% 0.164 276.4);
Tailwind
colors: {
  custom: {
    50: '#6e57a6',
    500: '#231680',
    950: '#000000',
  },
}
SCSS
$custom: #231680;
$custom-light: #6e57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#231680",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 247.358,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30965,
    "c": 0.16431,
    "h": 276.4
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#231680
secondary
#A6B53D
accent
#ED3AD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231680

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

Preview Lab → · Contrast checker → · Palette generator →

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