#230B4E#230B4E

#230B4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.112 H 291.8°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#230B4E
RGBrgb(35, 11, 78)
HSLhsl(261, 75%, 17%)
HSVhsv(261, 86%, 31%)
CMYKcmyk(55.1%, 85.9%, 0%, 69.4%)
CIE-LABlab(10.16, 29.48, -36.20)
CIE-LCHlch(10.16, 46.68, 309.16°)
OKLaboklab(23.89% 0.0416 -0.104)
OKLCHoklch(23.89% 0.112 291.8)
XYZxyz(2.1876, 1.1466, 7.3123)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B4E #364E0B
analogous
#0B144E #230B4E #450B4E
triadic
#230B4E #4E230B #0B4E23
tetradic
#230B4E #4E0B14 #364E0B #0B4E45
square
#230B4E #4E0B14 #364E0B #0B4E45
split-complementary
#230B4E #4E450B #144E0B
monochromatic
#0C041B #0C041B #230B4E #3B1384 #531AB9

Accessibility & contrast

On white

17.08
#230B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#230B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B4E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B4E#FFFFFF#000000##FFFFFF
##230B4E1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#141E2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230b4e;
/* rgb */ color: rgb(35, 11, 78);
/* oklch */ color: oklch(23.9% 0.112 291.8);
Tailwind
colors: {
  custom: {
    50: '#644d80',
    500: '#230b4e',
    950: '#000000',
  },
}
SCSS
$custom: #230b4e;
$custom-light: #644d80;
$custom-dark: #000000;
JSON
{
  "hex": "#230b4e",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 261.493,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23889,
    "c": 0.11199,
    "h": 291.8
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#230B4E
secondary
#688A2B
accent
#F236AF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #230B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#230B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva