#23074E#23074E

#23074E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.116 H 292.8°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#23074E
RGBrgb(35, 7, 78)
HSLhsl(264, 84%, 17%)
HSVhsv(264, 91%, 31%)
CMYKcmyk(55.1%, 91%, 0%, 69.4%)
CIE-LABlab(9.48, 31.46, -37.32)
CIE-LCHlch(9.48, 48.81, 310.14°)
OKLaboklab(23.42% 0.045 -0.1072)
OKLCHoklch(23.42% 0.116 292.8)
XYZxyz(2.1439, 1.0593, 7.2977)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23074E #324E07
analogous
#070F4E #23074E #47074E
triadic
#23074E #4E2307 #074E23
tetradic
#23074E #4E070F #324E07 #074E47
square
#23074E #4E070F #324E07 #074E47
split-complementary
#23074E #4E4707 #0F4E07
monochromatic
#0D031C #0D031C #23074E #3C0C86 #5511BE

Accessibility & contrast

On white

17.33
#23074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#23074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23074E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23074E#FFFFFF#000000##FFFFFF
##23074E1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#151C2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #23074e;
/* rgb */ color: rgb(35, 7, 78);
/* oklch */ color: oklch(23.4% 0.116 292.8);
Tailwind
colors: {
  custom: {
    50: '#644b80',
    500: '#23074e',
    950: '#000000',
  },
}
SCSS
$custom: #23074e;
$custom-light: #644b80;
$custom-dark: #000000;
JSON
{
  "hex": "#23074e",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 263.662,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23417,
    "c": 0.11625,
    "h": 292.8
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#23074E
secondary
#638C25
accent
#FA2EA9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #23074E

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

Preview Lab → · Contrast checker → · Palette generator →

#23074E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva