#230E40#230E40

#230E40 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.090 H 298.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#230E40
RGBrgb(35, 14, 64)
HSLhsl(265, 64%, 15%)
HSVhsv(265, 78%, 25%)
CMYKcmyk(45.3%, 78.1%, 0%, 74.9%)
CIE-LABlab(9.33, 23.47, -27.74)
CIE-LCHlch(9.33, 36.34, 310.24°)
OKLaboklab(22.87% 0.0424 -0.0792)
OKLCHoklch(22.87% 0.09 298.2)
XYZxyz(1.7754, 1.0415, 4.9570)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E40 #2B400E
analogous
#0E1240 #230E40 #3C0E40
triadic
#230E40 #40230E #0E4023
tetradic
#230E40 #400E12 #2B400E #0E403C
square
#230E40 #400E12 #2B400E #0E403C
split-complementary
#230E40 #403C0E #12400E
monochromatic
#0E0519 #0E0519 #230E40 #3E1972 #5A24A4

Accessibility & contrast

On white

17.38
#230E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E40
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E40#FFFFFF#000000##FFFFFF
##230E401.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#1C1A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230e40;
/* rgb */ color: rgb(35, 14, 64);
/* oklch */ color: oklch(22.9% 0.090 298.2);
Tailwind
colors: {
  custom: {
    50: '#614e75',
    500: '#230e40',
    950: '#000000',
  },
}
SCSS
$custom: #230e40;
$custom-light: #614e75;
$custom-dark: #000000;
JSON
{
  "hex": "#230e40",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 265.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22872,
    "c": 0.0898,
    "h": 298.2
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#230E40
secondary
#5B7B2F
accent
#E741A1
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230E40

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

Preview Lab → · Contrast checker → · Palette generator →

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