#23267E#23267E

#23267E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.145 H 273.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#23267E
RGBrgb(35, 38, 126)
HSLhsl(238, 57%, 32%)
HSVhsv(238, 72%, 49%)
CMYKcmyk(72.2%, 69.8%, 0%, 50.6%)
CIE-LABlab(21.02, 29.66, -50.04)
CIE-LCHlch(21.02, 58.17, 300.66°)
OKLaboklab(33.14% 0.0094 -0.1446)
OKLCHoklch(33.14% 0.145 273.7)
XYZxyz(5.1509, 3.2494, 20.0904)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23267E #7E7B23
analogous
#23547E #23267E #4E237E
triadic
#23267E #7E2326 #267E23
tetradic
#23267E #7E2354 #7E7B23 #237E4E
square
#23267E #7E2354 #7E7B23 #237E4E
split-complementary
#23267E #7E4E23 #547E23
monochromatic
#08091E #16184E #23267E #3034AE #4E52CE

Accessibility & contrast

On white

12.73
#23267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#23267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23267E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23267E#FFFFFF#000000##FFFFFF
##23267E1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23267e;
/* rgb */ color: rgb(35, 38, 126);
/* oklch */ color: oklch(33.1% 0.145 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c61a4',
    500: '#23267e',
    950: '#000000',
  },
}
SCSS
$custom: #23267e;
$custom-light: #6c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23267e",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 238.022,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33135,
    "c": 0.14489,
    "h": 273.7
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#23267E
secondary
#B0AD4C
accent
#DB48E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23267E

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

Preview Lab → · Contrast checker → · Palette generator →

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