#23246E#23246E

#23246E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.125 H 275.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#23246E
RGBrgb(35, 36, 110)
HSLhsl(239, 52%, 28%)
HSVhsv(239, 68%, 43%)
CMYKcmyk(68.2%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.99, 25.07, -43.10)
CIE-LCHlch(18.99, 49.86, 300.18°)
OKLaboklab(31.19% 0.0126 -0.1243)
OKLCHoklch(31.19% 0.125 275.8)
XYZxyz(4.1376, 2.7445, 15.0605)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23246E #6E6D23
analogous
#23496E #23246E #47236E
triadic
#23246E #6E2324 #246E23
tetradic
#23246E #6E2349 #6E6D23 #236E47
square
#23246E #6E2349 #6E6D23 #236E47
split-complementary
#23246E #6E4723 #496E23
monochromatic
#070817 #141540 #23246E #32339C #4749C4

Accessibility & contrast

On white

13.56
#23246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#23246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23246E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23246E#FFFFFF#000000##FFFFFF
##23246E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23246e;
/* rgb */ color: rgb(35, 36, 110);
/* oklch */ color: oklch(31.2% 0.125 275.8);
Tailwind
colors: {
  custom: {
    50: '#685f98',
    500: '#23246e',
    950: '#000000',
  },
}
SCSS
$custom: #23246e;
$custom-light: #685f98;
$custom-dark: #000000;
JSON
{
  "hex": "#23246e",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 239.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31192,
    "c": 0.12492,
    "h": 275.8
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#23246E
secondary
#A1A04C
accent
#D94DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23246E

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

Preview Lab → · Contrast checker → · Palette generator →

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