#23268A#23268A

#23268A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.161 H 272.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#23268A
RGBrgb(35, 38, 138)
HSLhsl(238, 60%, 34%)
HSVhsv(238, 75%, 54%)
CMYKcmyk(74.6%, 72.5%, 0%, 45.9%)
CIE-LABlab(22.22, 34.02, -55.60)
CIE-LCHlch(22.22, 65.19, 301.46°)
OKLaboklab(34.37% 0.0078 -0.1608)
OKLCHoklch(34.37% 0.161 272.8)
XYZxyz(5.9722, 3.5779, 24.4157)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23268A #8A8723
analogous
#235A8A #23268A #54238A
triadic
#23268A #8A2326 #268A23
tetradic
#23268A #8A235A #8A8723 #238A54
square
#23268A #8A235A #8A8723 #238A54
split-complementary
#23268A #8A5423 #5A8A23
monochromatic
#0A0B28 #171959 #23268A #2F33BB #5458D4

Accessibility & contrast

On white

12.24
#23268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23268A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23268A#FFFFFF#000000##FFFFFF
##23268A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23268a;
/* rgb */ color: rgb(35, 38, 138);
/* oklch */ color: oklch(34.4% 0.161 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f61ad',
    500: '#23268a',
    950: '#000000',
  },
}
SCSS
$custom: #23268a;
$custom-light: #6f61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23268a",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 238.252,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.16103,
    "h": 272.8
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#23268A
secondary
#B7B551
accent
#DE45E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #23268A

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

Preview Lab → · Contrast checker → · Palette generator →

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