#231672#231672

#231672 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.147 H 278.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#231672
RGBrgb(35, 22, 114)
HSLhsl(248, 68%, 27%)
HSVhsv(248, 81%, 45%)
CMYKcmyk(69.3%, 80.7%, 0%, 55.3%)
CIE-LABlab(16.23, 35.21, -50.22)
CIE-LCHlch(16.23, 61.34, 305.04°)
OKLaboklab(29.34% 0.0222 -0.1451)
OKLCHoklch(29.34% 0.147 278.7)
XYZxyz(4.0163, 2.1457, 16.1188)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231672 #657216
analogous
#163772 #231672 #511672
triadic
#231672 #722316 #167223
tetradic
#231672 #721637 #657216 #167251
square
#231672 #721637 #657216 #167251
split-complementary
#231672 #725116 #377216
monochromatic
#08051A #130C3F #231672 #3320A5 #442CD6

Accessibility & contrast

On white

14.69
#231672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231672
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231672#FFFFFF#000000##FFFFFF
##2316721.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231672;
/* rgb */ color: rgb(35, 22, 114);
/* oklch */ color: oklch(29.3% 0.147 278.7);
Tailwind
colors: {
  custom: {
    50: '#6b569c',
    500: '#231672',
    950: '#000000',
  },
}
SCSS
$custom: #231672;
$custom-light: #6b569c;
$custom-dark: #000000;
JSON
{
  "hex": "#231672",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 248.478,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29343,
    "c": 0.14674,
    "h": 278.7
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#231672
secondary
#99A83C
accent
#EB3DD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231672

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

Preview Lab → · Contrast checker → · Palette generator →

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