#231973#231973

#231973 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.145 H 278.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#231973
RGBrgb(35, 25, 115)
HSLhsl(247, 64%, 27%)
HSVhsv(247, 78%, 45%)
CMYKcmyk(69.6%, 78.3%, 0%, 54.9%)
CIE-LABlab(16.94, 33.86, -49.70)
CIE-LCHlch(16.94, 60.14, 304.26°)
OKLaboklab(29.87% 0.0201 -0.1436)
OKLCHoklch(29.87% 0.145 278)
XYZxyz(4.1343, 2.2900, 16.4405)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231973 #697319
analogous
#193C73 #231973 #501973
triadic
#231973 #732319 #197323
tetradic
#231973 #73193C #697319 #197350
square
#231973 #73193C #697319 #197350
split-complementary
#231973 #735019 #3C7319
monochromatic
#080519 #140E41 #231973 #3224A5 #4534D3

Accessibility & contrast

On white

14.40
#231973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231973
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231973#FFFFFF#000000##FFFFFF
##2319731.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231973;
/* rgb */ color: rgb(35, 25, 115);
/* oklch */ color: oklch(29.9% 0.145 278.0);
Tailwind
colors: {
  custom: {
    50: '#6b589c',
    500: '#231973',
    950: '#000000',
  },
}
SCSS
$custom: #231973;
$custom-light: #6b589c;
$custom-dark: #000000;
JSON
{
  "hex": "#231973",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 246.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.14497,
    "h": 278
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#231973
secondary
#9CA840
accent
#E741D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231973

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

Preview Lab → · Contrast checker → · Palette generator →

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