#231678#231678

#231678 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.154 H 277.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#231678
RGBrgb(35, 22, 120)
HSLhsl(248, 69%, 28%)
HSVhsv(248, 82%, 47%)
CMYKcmyk(70.8%, 81.7%, 0%, 52.9%)
CIE-LABlab(16.93, 37.19, -52.95)
CIE-LCHlch(16.93, 64.71, 305.08°)
OKLaboklab(30.03% 0.0205 -0.153)
OKLCHoklch(30.03% 0.154 277.6)
XYZxyz(4.3691, 2.2868, 17.9768)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231678 #6B7816
analogous
#163A78 #231678 #541678
triadic
#231678 #782316 #167823
tetradic
#231678 #78163A #6B7816 #167854
square
#231678 #78163A #6B7816 #167854
split-complementary
#231678 #785416 #3A7816
monochromatic
#08051A #140D44 #231678 #321FAC #462FD9

Accessibility & contrast

On white

14.41
#231678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231678
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231678#FFFFFF#000000##FFFFFF
##2316781.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231678;
/* rgb */ color: rgb(35, 22, 120);
/* oklch */ color: oklch(30.0% 0.154 277.6);
Tailwind
colors: {
  custom: {
    50: '#6c56a0',
    500: '#231678',
    950: '#000000',
  },
}
SCSS
$custom: #231678;
$custom-light: #6c56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#231678",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 247.959,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30031,
    "c": 0.15436,
    "h": 277.6
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231678

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

Preview Lab → · Contrast checker → · Palette generator →

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