#23246C#23246C

#23246C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.122 H 276.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#23246C
RGBrgb(35, 36, 108)
HSLhsl(239, 51%, 28%)
HSVhsv(239, 68%, 42%)
CMYKcmyk(67.6%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.81, 24.32, -42.11)
CIE-LCHlch(18.81, 48.63, 300.01°)
OKLaboklab(31% 0.0128 -0.1213)
OKLCHoklch(31% 0.122 276)
XYZxyz(4.0299, 2.7015, 14.4935)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23246C #6C6B23
analogous
#23486C #23246C #46236C
triadic
#23246C #6C2324 #246C23
tetradic
#23246C #6C2348 #6C6B23 #236C46
square
#23246C #6C2348 #6C6B23 #236C46
split-complementary
#23246C #6C4623 #486C23
monochromatic
#070817 #14153E #23246C #32339A #4648C3

Accessibility & contrast

On white

13.63
#23246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#23246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23246C
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23246C#FFFFFF#000000##FFFFFF
##23246C1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23246c;
/* rgb */ color: rgb(35, 36, 108);
/* oklch */ color: oklch(31.0% 0.122 276.0);
Tailwind
colors: {
  custom: {
    50: '#685f97',
    500: '#23246c',
    950: '#000000',
  },
}
SCSS
$custom: #23246c;
$custom-light: #685f97;
$custom-dark: #000000;
JSON
{
  "hex": "#23246c",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 239.178,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31,
    "c": 0.12202,
    "h": 276
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#23246C
secondary
#9F9E4B
accent
#D94DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #23246C

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

Preview Lab → · Contrast checker → · Palette generator →

#23246C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva