#231970#231970

#231970 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.141 H 278.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#231970
RGBrgb(35, 25, 112)
HSLhsl(247, 64%, 27%)
HSVhsv(247, 78%, 44%)
CMYKcmyk(68.8%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.61, 32.83, -48.30)
CIE-LCHlch(16.61, 58.41, 304.20°)
OKLaboklab(29.54% 0.0208 -0.1395)
OKLCHoklch(29.54% 0.141 278.5)
XYZxyz(3.9645, 2.2221, 15.5461)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231970 #667019
analogous
#193A70 #231970 #4F1970
triadic
#231970 #702319 #197023
tetradic
#231970 #70193A #667019 #19704F
square
#231970 #70193A #667019 #19704F
split-complementary
#231970 #704F19 #3A7019
monochromatic
#080619 #130E3E #231970 #3324A2 #4432D1

Accessibility & contrast

On white

14.54
#231970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231970
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231970#FFFFFF#000000##FFFFFF
##2319701.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231970;
/* rgb */ color: rgb(35, 25, 112);
/* oklch */ color: oklch(29.5% 0.141 278.5);
Tailwind
colors: {
  custom: {
    50: '#6a579a',
    500: '#231970',
    950: '#000000',
  },
}
SCSS
$custom: #231970;
$custom-light: #6a579a;
$custom-dark: #000000;
JSON
{
  "hex": "#231970",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 246.897,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29543,
    "c": 0.14104,
    "h": 278.5
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#231970
secondary
#9AA540
accent
#E741D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231970

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

Preview Lab → · Contrast checker → · Palette generator →

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