#23239F#23239F

#23239F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.191 H 271.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#23239F
RGBrgb(35, 35, 159)
HSLhsl(240, 64%, 38%)
HSVhsv(240, 78%, 62%)
CMYKcmyk(78%, 78%, 0%, 37.6%)
CIE-LABlab(23.87, 43.06, -65.84)
CIE-LCHlch(23.87, 78.67, 303.19°)
OKLaboklab(36.22% 0.0055 -0.1906)
OKLCHoklch(36.22% 0.191 271.6)
XYZxyz(7.5501, 4.0618, 33.1803)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23239F #9F9F23
analogous
#23619F #23239F #61239F
triadic
#23239F #9F2323 #239F23
tetradic
#23239F #9F2361 #9F9F23 #239F61
square
#23239F #9F2361 #9F9F23 #239F61
split-complementary
#23239F #9F6123 #619F23
monochromatic
#0D0D3B #18186D #23239F #2E2ED1 #6060DC

Accessibility & contrast

On white

11.59
#23239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#23239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23239F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23239F#FFFFFF#000000##FFFFFF
##23239F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23239f;
/* rgb */ color: rgb(35, 35, 159);
/* oklch */ color: oklch(36.2% 0.191 271.6);
Tailwind
colors: {
  custom: {
    50: '#7560bd',
    500: '#23239f',
    950: '#000000',
  },
}
SCSS
$custom: #23239f;
$custom-light: #7560bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23239f",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.19068,
    "h": 271.6
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#23239F
secondary
#C1C15D
accent
#E741E7
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23239F

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

Preview Lab → · Contrast checker → · Palette generator →

#23239F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva