#231870#231870

#231870 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.142 H 278.7°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#231870
RGBrgb(35, 24, 112)
HSLhsl(248, 65%, 27%)
HSVhsv(248, 79%, 44%)
CMYKcmyk(68.8%, 78.6%, 0%, 56.1%)
CIE-LABlab(16.41, 33.42, -48.65)
CIE-LCHlch(16.41, 59.02, 304.49°)
OKLaboklab(29.4% 0.0215 -0.1405)
OKLCHoklch(29.4% 0.142 278.7)
XYZxyz(3.9435, 2.1801, 15.5391)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231870 #657018
analogous
#183970 #231870 #4F1870
triadic
#231870 #702318 #187023
tetradic
#231870 #701839 #657018 #18704F
square
#231870 #701839 #657018 #18704F
split-complementary
#231870 #704F18 #397018
monochromatic
#080519 #130D3E #231870 #3323A2 #4430D3

Accessibility & contrast

On white

14.62
#231870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231870
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231870#FFFFFF#000000##FFFFFF
##2318701.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231870;
/* rgb */ color: rgb(35, 24, 112);
/* oklch */ color: oklch(29.4% 0.142 278.7);
Tailwind
colors: {
  custom: {
    50: '#6a579a',
    500: '#231870',
    950: '#000000',
  },
}
SCSS
$custom: #231870;
$custom-light: #6a579a;
$custom-dark: #000000;
JSON
{
  "hex": "#231870",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 247.5,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29397,
    "c": 0.14211,
    "h": 278.7
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#231870
secondary
#99A53E
accent
#E840D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231870

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

Preview Lab → · Contrast checker → · Palette generator →

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