#231475#231475

#231475 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.152 H 278.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#231475
RGBrgb(35, 20, 117)
HSLhsl(249, 71%, 27%)
HSVhsv(249, 83%, 46%)
CMYKcmyk(70.1%, 82.9%, 0%, 54.1%)
CIE-LABlab(16.21, 37.26, -52.20)
CIE-LCHlch(16.21, 64.13, 305.52°)
OKLaboklab(29.43% 0.0225 -0.1508)
OKLCHoklch(29.43% 0.152 278.5)
XYZxyz(4.1531, 2.1416, 17.0207)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231475 #667514
analogous
#143675 #231475 #541475
triadic
#231475 #752314 #147523
tetradic
#231475 #751436 #667514 #147554
square
#231475 #751436 #667514 #147554
split-complementary
#231475 #755414 #367514
monochromatic
#08041A #130B41 #231475 #331DA9 #4429DA

Accessibility & contrast

On white

14.70
#231475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231475
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231475#FFFFFF#000000##FFFFFF
##2314751.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231475;
/* rgb */ color: rgb(35, 20, 117);
/* oklch */ color: oklch(29.4% 0.152 278.5);
Tailwind
colors: {
  custom: {
    50: '#6c559e',
    500: '#231475',
    950: '#000000',
  },
}
SCSS
$custom: #231475;
$custom-light: #6c559e;
$custom-dark: #000000;
JSON
{
  "hex": "#231475",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 249.278,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29432,
    "c": 0.15243,
    "h": 278.5
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#231475
secondary
#9AAB3A
accent
#EE3AD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231475

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

Preview Lab → · Contrast checker → · Palette generator →

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