#230B3E#230B3E

#230B3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.091 H 300.5°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#230B3E
RGBrgb(35, 11, 62)
HSLhsl(268, 70%, 14%)
HSVhsv(268, 82%, 24%)
CMYKcmyk(43.5%, 82.3%, 0%, 75.7%)
CIE-LABlab(8.52, 24.61, -27.63)
CIE-LCHlch(8.52, 37.00, 311.69°)
OKLaboklab(22.24% 0.0464 -0.0788)
OKLCHoklch(22.24% 0.092 300.5)
XYZxyz(1.6821, 0.9445, 4.6502)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B3E #263E0B
analogous
#0B0D3E #230B3E #3D0B3E
triadic
#230B3E #3E230B #0B3E23
tetradic
#230B3E #3E0B0D #263E0B #0B3E3D
square
#230B3E #3E0B0D #263E0B #0B3E3D
split-complementary
#230B3E #3E3D0B #0D3E0B
monochromatic
#0F051A #0F051A #230B3E #401472 #5E1DA6

Accessibility & contrast

On white

17.66
#230B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B3E
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B3E#FFFFFF#000000##FFFFFF
##230B3E1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#1D1823
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230b3e;
/* rgb */ color: rgb(35, 11, 62);
/* oklch */ color: oklch(22.2% 0.091 300.5);
Tailwind
colors: {
  custom: {
    50: '#614c74',
    500: '#230b3e',
    950: '#000000',
  },
}
SCSS
$custom: #230b3e;
$custom-light: #614c74;
$custom-dark: #000000;
JSON
{
  "hex": "#230b3e",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 268.235,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22235,
    "c": 0.0915,
    "h": 300.5
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#230B3E
secondary
#557B2A
accent
#ED3B99
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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