#23267D#23267D

#23267D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.144 H 273.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#23267D
RGBrgb(35, 38, 125)
HSLhsl(238, 56%, 31%)
HSVhsv(238, 72%, 49%)
CMYKcmyk(72%, 69.6%, 0%, 51%)
CIE-LABlab(20.92, 29.29, -49.57)
CIE-LCHlch(20.92, 57.57, 300.58°)
OKLaboklab(33.03% 0.0095 -0.1432)
OKLCHoklch(33.03% 0.144 273.8)
XYZxyz(5.0867, 3.2237, 19.7522)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23267D #7D7A23
analogous
#23537D #23267D #4D237D
triadic
#23267D #7D2326 #267D23
tetradic
#23267D #7D2353 #7D7A23 #237D4D
square
#23267D #7D2353 #7D7A23 #237D4D
split-complementary
#23267D #7D4D23 #537D23
monochromatic
#08091D #16174D #23267D #3035AD #4D51CD

Accessibility & contrast

On white

12.77
#23267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#23267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23267D
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23267D#FFFFFF#000000##FFFFFF
##23267D1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23267d;
/* rgb */ color: rgb(35, 38, 125);
/* oklch */ color: oklch(33.0% 0.144 273.8);
Tailwind
colors: {
  custom: {
    50: '#6c60a4',
    500: '#23267d',
    950: '#000000',
  },
}
SCSS
$custom: #23267d;
$custom-light: #6c60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23267d",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 238,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33034,
    "c": 0.14351,
    "h": 273.8
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#23267D
secondary
#AFAC4C
accent
#DA48E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23267D

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

Preview Lab → · Contrast checker → · Palette generator →

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