#231375#231375

#231375 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.153 H 278.6°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#231375
RGBrgb(35, 19, 117)
HSLhsl(250, 72%, 27%)
HSVhsv(250, 84%, 46%)
CMYKcmyk(70.1%, 83.8%, 0%, 54.1%)
CIE-LABlab(16.04, 37.76, -52.49)
CIE-LCHlch(16.04, 64.66, 305.74°)
OKLaboklab(29.31% 0.023 -0.1516)
OKLCHoklch(29.31% 0.153 278.6)
XYZxyz(4.1359, 2.1071, 17.0149)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231375 #657513
analogous
#133475 #231375 #541375
triadic
#231375 #752313 #137523
tetradic
#231375 #751334 #657513 #137554
square
#231375 #751334 #657513 #137554
split-complementary
#231375 #755413 #347513
monochromatic
#08041A #130A40 #231375 #331CAA #4427DC

Accessibility & contrast

On white

14.77
#231375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231375
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231375#FFFFFF#000000##FFFFFF
##2313751.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231375;
/* rgb */ color: rgb(35, 19, 117);
/* oklch */ color: oklch(29.3% 0.153 278.6);
Tailwind
colors: {
  custom: {
    50: '#6c549e',
    500: '#231375',
    950: '#000000',
  },
}
SCSS
$custom: #231375;
$custom-light: #6c549e;
$custom-dark: #000000;
JSON
{
  "hex": "#231375",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 249.796,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29311,
    "c": 0.15332,
    "h": 278.6
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#231375
secondary
#99AB38
accent
#EF39D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231375

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

Preview Lab → · Contrast checker → · Palette generator →

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