#23268C#23268C

#23268C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.164 H 272.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#23268C
RGBrgb(35, 38, 140)
HSLhsl(238, 60%, 34%)
HSVhsv(238, 75%, 55%)
CMYKcmyk(75%, 72.9%, 0%, 45.1%)
CIE-LABlab(22.43, 34.74, -56.51)
CIE-LCHlch(22.43, 66.33, 301.58°)
OKLaboklab(34.58% 0.0075 -0.1635)
OKLCHoklch(34.58% 0.164 272.6)
XYZxyz(6.1183, 3.6364, 25.1853)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23268C #8C8923
analogous
#235B8C #23268C #55238C
triadic
#23268C #8C2326 #268C23
tetradic
#23268C #8C235B #8C8923 #238C55
square
#23268C #8C235B #8C8923 #238C55
split-complementary
#23268C #8C5523 #5B8C23
monochromatic
#0B0B2A #17195B #23268C #2F33BD #5559D4

Accessibility & contrast

On white

12.16
#23268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#23268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23268C
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23268C#FFFFFF#000000##FFFFFF
##23268C1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23268c;
/* rgb */ color: rgb(35, 38, 140);
/* oklch */ color: oklch(34.6% 0.164 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f61af',
    500: '#23268c',
    950: '#000000',
  },
}
SCSS
$custom: #23268c;
$custom-light: #6f61af;
$custom-dark: #000000;
JSON
{
  "hex": "#23268c",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 238.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.16366,
    "h": 272.6
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#23268C
secondary
#B8B652
accent
#DF45E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #23268C

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

Preview Lab → · Contrast checker → · Palette generator →

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