#23246F#23246F

#23246F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.126 H 275.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#23246F
RGBrgb(35, 36, 111)
HSLhsl(239, 52%, 29%)
HSVhsv(239, 68%, 44%)
CMYKcmyk(68.5%, 67.6%, 0%, 56.5%)
CIE-LABlab(19.08, 25.44, -43.60)
CIE-LCHlch(19.08, 50.48, 300.26°)
OKLaboklab(31.29% 0.0125 -0.1257)
OKLCHoklch(31.29% 0.126 275.7)
XYZxyz(4.1923, 2.7664, 15.3489)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23246F #6F6E23
analogous
#234A6F #23246F #48236F
triadic
#23246F #6F2324 #246F23
tetradic
#23246F #6F234A #6F6E23 #236F48
square
#23246F #6F234A #6F6E23 #236F48
split-complementary
#23246F #6F4823 #4A6F23
monochromatic
#070817 #141540 #23246F #32339E #4749C5

Accessibility & contrast

On white

13.52
#23246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23246F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23246F#FFFFFF#000000##FFFFFF
##23246F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23246f;
/* rgb */ color: rgb(35, 36, 111);
/* oklch */ color: oklch(31.3% 0.126 275.7);
Tailwind
colors: {
  custom: {
    50: '#695f99',
    500: '#23246f',
    950: '#000000',
  },
}
SCSS
$custom: #23246f;
$custom-light: #695f99;
$custom-dark: #000000;
JSON
{
  "hex": "#23246f",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 239.211,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31288,
    "c": 0.12636,
    "h": 275.7
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#23246F
secondary
#A2A14C
accent
#DA4CDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23246F

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

Preview Lab → · Contrast checker → · Palette generator →

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