#231667#231667

#231667 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.132 H 281.0°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#231667
RGBrgb(35, 22, 103)
HSLhsl(250, 65%, 25%)
HSVhsv(250, 79%, 40%)
CMYKcmyk(66%, 78.6%, 0%, 59.6%)
CIE-LABlab(15.01, 31.53, -45.06)
CIE-LCHlch(15.01, 55.00, 304.98°)
OKLaboklab(28.12% 0.0252 -0.13)
OKLCHoklch(28.12% 0.132 281)
XYZxyz(3.4275, 1.9102, 13.0174)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231667 #5A6716
analogous
#163167 #231667 #4C1667
triadic
#231667 #672316 #166723
tetradic
#231667 #671631 #5A6716 #16674C
square
#231667 #671631 #5A6716 #16674C
split-complementary
#231667 #674C16 #316716
monochromatic
#090519 #120B35 #231667 #342199 #452CCC

Accessibility & contrast

On white

15.20
#231667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231667
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231667#FFFFFF#000000##FFFFFF
##2316671.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231667;
/* rgb */ color: rgb(35, 22, 103);
/* oklch */ color: oklch(28.1% 0.132 281.0);
Tailwind
colors: {
  custom: {
    50: '#685593',
    500: '#231667',
    950: '#000000',
  },
}
SCSS
$custom: #231667;
$custom-light: #685593;
$custom-dark: #000000;
JSON
{
  "hex": "#231667",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 249.63,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28115,
    "c": 0.13242,
    "h": 281
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#231667
secondary
#8E9E3B
accent
#E840CD
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231667

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

Preview Lab → · Contrast checker → · Palette generator →

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