#231673#231673

#231673 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.148 H 278.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#231673
RGBrgb(35, 22, 115)
HSLhsl(248, 68%, 27%)
HSVhsv(248, 81%, 45%)
CMYKcmyk(69.6%, 80.9%, 0%, 54.9%)
CIE-LABlab(16.35, 35.55, -50.68)
CIE-LCHlch(16.35, 61.91, 305.04°)
OKLaboklab(29.46% 0.0219 -0.1464)
OKLCHoklch(29.46% 0.148 278.5)
XYZxyz(4.0736, 2.1686, 16.4202)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231673 #667316
analogous
#163873 #231673 #521673
triadic
#231673 #732316 #167323
tetradic
#231673 #731638 #667316 #167352
square
#231673 #731638 #667316 #167352
split-complementary
#231673 #735216 #387316
monochromatic
#08051A #130C40 #231673 #3320A6 #442DD7

Accessibility & contrast

On white

14.65
#231673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231673
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231673#FFFFFF#000000##FFFFFF
##2316731.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231673;
/* rgb */ color: rgb(35, 22, 115);
/* oklch */ color: oklch(29.5% 0.148 278.5);
Tailwind
colors: {
  custom: {
    50: '#6b569c',
    500: '#231673',
    950: '#000000',
  },
}
SCSS
$custom: #231673;
$custom-light: #6b569c;
$custom-dark: #000000;
JSON
{
  "hex": "#231673",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 248.387,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29457,
    "c": 0.14802,
    "h": 278.5
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#231673
secondary
#9AA93C
accent
#EB3DD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231673

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

Preview Lab → · Contrast checker → · Palette generator →

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