#231968#231968

#231968 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.130 H 280.0°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#231968
RGBrgb(35, 25, 104)
HSLhsl(248, 61%, 25%)
HSVhsv(248, 76%, 41%)
CMYKcmyk(66.3%, 76%, 0%, 59.2%)
CIE-LABlab(15.76, 30.07, -44.49)
CIE-LCHlch(15.76, 53.70, 304.06°)
OKLaboklab(28.68% 0.0227 -0.1283)
OKLCHoklch(28.68% 0.13 280)
XYZxyz(3.5387, 2.0518, 13.3036)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231968 #5E6819
analogous
#193668 #231968 #4A1968
triadic
#231968 #682319 #196823
tetradic
#231968 #681936 #5E6819 #19684A
square
#231968 #681936 #5E6819 #19684A
split-complementary
#231968 #684A19 #366819
monochromatic
#080619 #120D37 #231968 #342599 #4431CB

Accessibility & contrast

On white

14.89
#231968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231968
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231968#FFFFFF#000000##FFFFFF
##2319681.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231968;
/* rgb */ color: rgb(35, 25, 104);
/* oklch */ color: oklch(28.7% 0.130 280.0);
Tailwind
colors: {
  custom: {
    50: '#685794',
    500: '#231968',
    950: '#000000',
  },
}
SCSS
$custom: #231968;
$custom-light: #685794;
$custom-dark: #000000;
JSON
{
  "hex": "#231968",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 247.595,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28678,
    "c": 0.13033,
    "h": 280
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#231968
secondary
#929E3F
accent
#E443D0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231968

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

Preview Lab → · Contrast checker → · Palette generator →

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