#231679#231679

#231679 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.156 H 277.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#231679
RGBrgb(35, 22, 121)
HSLhsl(248, 69%, 28%)
HSVhsv(248, 82%, 47%)
CMYKcmyk(71.1%, 81.8%, 0%, 52.5%)
CIE-LABlab(17.04, 37.52, -53.40)
CIE-LCHlch(17.04, 65.26, 305.09°)
OKLaboklab(30.15% 0.0202 -0.1543)
OKLCHoklch(30.15% 0.156 277.5)
XYZxyz(4.4301, 2.3112, 18.2981)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231679 #6C7916
analogous
#163A79 #231679 #541679
triadic
#231679 #792316 #167923
tetradic
#231679 #79163A #6C7916 #167954
square
#231679 #79163A #6C7916 #167954
split-complementary
#231679 #795416 #3A7916
monochromatic
#07051A #140D45 #231679 #321FAD #4630D9

Accessibility & contrast

On white

14.36
#231679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231679
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231679#FFFFFF#000000##FFFFFF
##2316791.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231679;
/* rgb */ color: rgb(35, 22, 121);
/* oklch */ color: oklch(30.1% 0.156 277.5);
Tailwind
colors: {
  custom: {
    50: '#6c56a1',
    500: '#231679',
    950: '#000000',
  },
}
SCSS
$custom: #231679;
$custom-light: #6c56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#231679",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 247.879,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.15561,
    "h": 277.5
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#231679
secondary
#9FAE3D
accent
#EC3CD5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231679

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

Preview Lab → · Contrast checker → · Palette generator →

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