#23268E#23268E

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

Color values

HEX#23268E
RGBrgb(35, 38, 142)
HSLhsl(238, 60%, 35%)
HSVhsv(238, 75%, 56%)
CMYKcmyk(75.4%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.64, 35.45, -57.41)
CIE-LCHlch(22.64, 67.47, 301.69°)
OKLaboklab(34.8% 0.0072 -0.1661)
OKLCHoklch(34.8% 0.166 272.5)
XYZxyz(6.2671, 3.6959, 25.9690)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23268E #8E8B23
analogous
#235B8E #23268E #56238E
triadic
#23268E #8E2326 #268E23
tetradic
#23268E #8E235B #8E8B23 #238E56
square
#23268E #8E235B #8E8B23 #238E56
split-complementary
#23268E #8E5623 #5B8E23
monochromatic
#0B0C2C #17195D #23268E #2F33BF #565AD5

Accessibility & contrast

On white

12.07
#23268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#23268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23268E
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23268E#FFFFFF#000000##FFFFFF
##23268E1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23268e;
/* rgb */ color: rgb(35, 38, 142);
/* oklch */ color: oklch(34.8% 0.166 272.5);
Tailwind
colors: {
  custom: {
    50: '#7061b0',
    500: '#23268e',
    950: '#000000',
  },
}
SCSS
$custom: #23268e;
$custom-light: #7061b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23268e",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 238.318,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34795,
    "c": 0.16626,
    "h": 272.5
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#23268E
secondary
#B9B753
accent
#DF44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23268E

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

Preview Lab → · Contrast checker → · Palette generator →

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