#23268D#23268D

#23268D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.165 H 272.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#23268D
RGBrgb(35, 38, 141)
HSLhsl(238, 60%, 35%)
HSVhsv(238, 75%, 55%)
CMYKcmyk(75.2%, 73%, 0%, 44.7%)
CIE-LABlab(22.54, 35.09, -56.96)
CIE-LCHlch(22.54, 66.90, 301.64°)
OKLaboklab(34.69% 0.0073 -0.1648)
OKLCHoklch(34.69% 0.165 272.5)
XYZxyz(6.1924, 3.6660, 25.5754)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23268D #8D8A23
analogous
#235B8D #23268D #55238D
triadic
#23268D #8D2326 #268D23
tetradic
#23268D #8D235B #8D8A23 #238D55
square
#23268D #8D235B #8D8A23 #238D55
split-complementary
#23268D #8D5523 #5B8D23
monochromatic
#0B0C2B #17195C #23268D #2F33BE #5559D5

Accessibility & contrast

On white

12.11
#23268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23268D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23268D#FFFFFF#000000##FFFFFF
##23268D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #23268d;
/* rgb */ color: rgb(35, 38, 141);
/* oklch */ color: oklch(34.7% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#7061af',
    500: '#23268d',
    950: '#000000',
  },
}
SCSS
$custom: #23268d;
$custom-light: #7061af;
$custom-dark: #000000;
JSON
{
  "hex": "#23268d",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 238.302,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34689,
    "c": 0.16496,
    "h": 272.5
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#23268D
secondary
#B9B653
accent
#DF44E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #23268D

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

Preview Lab → · Contrast checker → · Palette generator →

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