#23268B#23268B

#23268B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.162 H 272.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#23268B
RGBrgb(35, 38, 139)
HSLhsl(238, 60%, 34%)
HSVhsv(238, 75%, 55%)
CMYKcmyk(74.8%, 72.7%, 0%, 45.5%)
CIE-LABlab(22.33, 34.38, -56.06)
CIE-LCHlch(22.33, 65.76, 301.52°)
OKLaboklab(34.48% 0.0076 -0.1622)
OKLCHoklch(34.48% 0.162 272.7)
XYZxyz(6.0449, 3.6070, 24.7987)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23268B #8B8823
analogous
#235A8B #23268B #54238B
triadic
#23268B #8B2326 #268B23
tetradic
#23268B #8B235A #8B8823 #238B54
square
#23268B #8B235A #8B8823 #238B54
split-complementary
#23268B #8B5423 #5A8B23
monochromatic
#0A0B29 #17195A #23268B #2F33BC #5458D4

Accessibility & contrast

On white

12.20
#23268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#23268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23268B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23268B#FFFFFF#000000##FFFFFF
##23268B1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23268b;
/* rgb */ color: rgb(35, 38, 139);
/* oklch */ color: oklch(34.5% 0.162 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f61ae',
    500: '#23268b',
    950: '#000000',
  },
}
SCSS
$custom: #23268b;
$custom-light: #6f61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23268b",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 238.269,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34477,
    "c": 0.16235,
    "h": 272.7
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#23268B
secondary
#B8B552
accent
#DE45E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #23268B

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

Preview Lab → · Contrast checker → · Palette generator →

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