#231671#231671

#231671 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.145 H 278.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#231671
RGBrgb(35, 22, 113)
HSLhsl(249, 67%, 26%)
HSVhsv(249, 81%, 44%)
CMYKcmyk(69%, 80.5%, 0%, 55.7%)
CIE-LABlab(16.12, 34.88, -49.76)
CIE-LCHlch(16.12, 60.77, 305.03°)
OKLaboklab(29.23% 0.0225 -0.1437)
OKLCHoklch(29.23% 0.145 278.9)
XYZxyz(3.9597, 2.1231, 15.8207)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231671 #647116
analogous
#163771 #231671 #511671
triadic
#231671 #712316 #167123
tetradic
#231671 #711637 #647116 #167151
square
#231671 #711637 #647116 #167151
split-complementary
#231671 #715116 #377116
monochromatic
#08051A #130C3E #231671 #3320A4 #442CD6

Accessibility & contrast

On white

14.74
#231671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231671
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231671#FFFFFF#000000##FFFFFF
##2316711.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231671;
/* rgb */ color: rgb(35, 22, 113);
/* oklch */ color: oklch(29.2% 0.145 278.9);
Tailwind
colors: {
  custom: {
    50: '#6a569b',
    500: '#231671',
    950: '#000000',
  },
}
SCSS
$custom: #231671;
$custom-light: #6a569b;
$custom-dark: #000000;
JSON
{
  "hex": "#231671",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 248.571,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.2923,
    "c": 0.14546,
    "h": 278.9
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#231671
secondary
#98A73C
accent
#EA3ED2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231671

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

Preview Lab → · Contrast checker → · Palette generator →

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