#231676#231676

#231676 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.152 H 278.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#231676
RGBrgb(35, 22, 118)
HSLhsl(248, 69%, 27%)
HSVhsv(248, 81%, 46%)
CMYKcmyk(70.3%, 81.4%, 0%, 53.7%)
CIE-LABlab(16.69, 36.53, -52.05)
CIE-LCHlch(16.69, 63.59, 305.07°)
OKLaboklab(29.8% 0.0211 -0.1504)
OKLCHoklch(29.8% 0.152 278)
XYZxyz(4.2490, 2.2388, 17.3442)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231676 #697616
analogous
#163976 #231676 #531676
triadic
#231676 #762316 #167623
tetradic
#231676 #761639 #697616 #167653
square
#231676 #761639 #697616 #167653
split-complementary
#231676 #765316 #397616
monochromatic
#08051A #140C42 #231676 #3220AA #452ED8

Accessibility & contrast

On white

14.50
#231676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231676
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231676#FFFFFF#000000##FFFFFF
##2316761.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231676;
/* rgb */ color: rgb(35, 22, 118);
/* oklch */ color: oklch(29.8% 0.152 278.0);
Tailwind
colors: {
  custom: {
    50: '#6c569f',
    500: '#231676',
    950: '#000000',
  },
}
SCSS
$custom: #231676;
$custom-light: #6c569f;
$custom-dark: #000000;
JSON
{
  "hex": "#231676",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 248.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29801,
    "c": 0.15183,
    "h": 278
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#231676
secondary
#9CAC3C
accent
#EB3CD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231676

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

Preview Lab → · Contrast checker → · Palette generator →

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