#231995#231995

#231995 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.187 H 273.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#231995
RGBrgb(35, 25, 149)
HSLhsl(245, 71%, 34%)
HSVhsv(245, 83%, 58%)
CMYKcmyk(76.5%, 83.2%, 0%, 41.6%)
CIE-LABlab(20.91, 44.99, -64.61)
CIE-LCHlch(20.91, 78.73, 304.85°)
OKLaboklab(33.81% 0.0112 -0.1869)
OKLCHoklch(33.81% 0.187 273.4)
XYZxyz(6.4638, 3.2218, 28.7092)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231995 #8B9519
analogous
#194D95 #231995 #611995
triadic
#231995 #952319 #199523
tetradic
#231995 #95194D #8B9519 #199561
square
#231995 #95194D #8B9519 #199561
split-complementary
#231995 #956119 #4D9519
monochromatic
#0A072C #171061 #231995 #2F22C9 #5448E0

Accessibility & contrast

On white

12.77
#231995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#231995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231995
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231995#FFFFFF#000000##FFFFFF
##2319951.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231995;
/* rgb */ color: rgb(35, 25, 149);
/* oklch */ color: oklch(33.8% 0.187 273.4);
Tailwind
colors: {
  custom: {
    50: '#735ab5',
    500: '#231995',
    950: '#000000',
  },
}
SCSS
$custom: #231995;
$custom-light: #735ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#231995",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 244.839,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33811,
    "c": 0.18722,
    "h": 273.4
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#231995
secondary
#B8C248
accent
#EE3ADF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #231995

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

Preview Lab → · Contrast checker → · Palette generator →

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