#230E56#230E56

#230E56 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.119 H 287.8°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#230E56
RGBrgb(35, 14, 86)
HSLhsl(258, 72%, 20%)
HSVhsv(258, 84%, 34%)
CMYKcmyk(59.3%, 83.7%, 0%, 66.3%)
CIE-LABlab(11.57, 30.42, -39.35)
CIE-LCHlch(11.57, 49.74, 307.71°)
OKLaboklab(25.14% 0.0364 -0.1132)
OKLCHoklch(25.14% 0.119 287.8)
XYZxyz(2.5294, 1.3432, 8.9283)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E56 #41560E
analogous
#0E1D56 #230E56 #470E56
triadic
#230E56 #56230E #0E5623
tetradic
#230E56 #560E1D #41560E #0E5647
square
#230E56 #560E1D #41560E #0E5647
split-complementary
#230E56 #56470E #1D560E
monochromatic
#0B041A #0E0521 #230E56 #38178B #4E1FBF

Accessibility & contrast

On white

16.55
#230E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#230E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E56
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E56#FFFFFF#000000##FFFFFF
##230E561.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#0D2332
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #230e56;
/* rgb */ color: rgb(35, 14, 86);
/* oklch */ color: oklch(25.1% 0.119 287.8);
Tailwind
colors: {
  custom: {
    50: '#654f86',
    500: '#230e56',
    950: '#000000',
  },
}
SCSS
$custom: #230e56;
$custom-light: #654f86;
$custom-dark: #000000;
JSON
{
  "hex": "#230e56",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 257.5,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25143,
    "c": 0.11893,
    "h": 287.8
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#230E56
secondary
#749030
accent
#EF39BA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230E56

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

Preview Lab → · Contrast checker → · Palette generator →

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