#230A3E#230A3E

#230A3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.093 H 300.8°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#230A3E
RGBrgb(35, 10, 62)
HSLhsl(269, 72%, 14%)
HSVhsv(269, 84%, 24%)
CMYKcmyk(43.5%, 83.9%, 0%, 75.7%)
CIE-LABlab(8.33, 25.16, -27.95)
CIE-LCHlch(8.33, 37.61, 311.99°)
OKLaboklab(22.1% 0.0476 -0.0798)
OKLCHoklch(22.1% 0.093 300.8)
XYZxyz(1.6710, 0.9222, 4.6465)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A3E #253E0A
analogous
#0A0B3E #230A3E #3D0A3E
triadic
#230A3E #3E230A #0A3E23
tetradic
#230A3E #3E0A0B #253E0A #0A3E3D
square
#230A3E #3E0A0B #253E0A #0A3E3D
split-complementary
#230A3E #3E3D0A #0B3E0A
monochromatic
#0F041A #0F041A #230A3E #411373 #5F1BA7

Accessibility & contrast

On white

17.73
#230A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A3E
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A3E#FFFFFF#000000##FFFFFF
##230A3E1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230a3e;
/* rgb */ color: rgb(35, 10, 62);
/* oklch */ color: oklch(22.1% 0.093 300.8);
Tailwind
colors: {
  custom: {
    50: '#614c74',
    500: '#230a3e',
    950: '#000000',
  },
}
SCSS
$custom: #230a3e;
$custom-light: #614c74;
$custom-dark: #000000;
JSON
{
  "hex": "#230a3e",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 268.846,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22098,
    "c": 0.09288,
    "h": 300.8
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#230A3E
secondary
#537B28
accent
#EF3997
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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