#23236F#23236F

#23236F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.128 H 276.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#23236F
RGBrgb(35, 35, 111)
HSLhsl(240, 52%, 29%)
HSVhsv(240, 68%, 44%)
CMYKcmyk(68.5%, 68.5%, 0%, 56.5%)
CIE-LABlab(18.83, 26.12, -44.02)
CIE-LCHlch(18.83, 51.18, 300.68°)
OKLaboklab(31.1% 0.0134 -0.127)
OKLCHoklch(31.1% 0.128 276)
XYZxyz(4.1625, 2.7067, 15.3389)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23236F #6F6F23
analogous
#23496F #23236F #49236F
triadic
#23236F #6F2323 #236F23
tetradic
#23236F #6F2349 #6F6F23 #236F49
square
#23236F #6F2349 #6F6F23 #236F49
split-complementary
#23236F #6F4923 #496F23
monochromatic
#070717 #141440 #23236F #32329E #4747C5

Accessibility & contrast

On white

13.62
#23236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#23236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23236F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23236F#FFFFFF#000000##FFFFFF
##23236F1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23236f;
/* rgb */ color: rgb(35, 35, 111);
/* oklch */ color: oklch(31.1% 0.128 276.0);
Tailwind
colors: {
  custom: {
    50: '#695e99',
    500: '#23236f',
    950: '#000000',
  },
}
SCSS
$custom: #23236f;
$custom-light: #695e99;
$custom-dark: #000000;
JSON
{
  "hex": "#23236f",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31103,
    "c": 0.12766,
    "h": 276
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#23236F
secondary
#A2A24C
accent
#DB4CDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23236F

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

Preview Lab → · Contrast checker → · Palette generator →

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