#23266B#23266B

#23266B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.118 H 275.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#23266B
RGBrgb(35, 38, 107)
HSLhsl(238, 51%, 28%)
HSVhsv(238, 67%, 42%)
CMYKcmyk(67.3%, 64.5%, 0%, 58%)
CIE-LABlab(19.24, 22.57, -40.74)
CIE-LCHlch(19.24, 46.57, 298.98°)
OKLaboklab(31.29% 0.011 -0.1173)
OKLCHoklch(31.29% 0.118 275.3)
XYZxyz(4.0392, 2.8048, 14.2356)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23266B #6B6823
analogous
#234A6B #23266B #44236B
triadic
#23266B #6B2326 #266B23
tetradic
#23266B #6B234A #6B6823 #236B44
square
#23266B #6B234A #6B6823 #236B44
split-complementary
#23266B #6B4423 #4A6B23
monochromatic
#080817 #14163D #23266B #323699 #464BC2

Accessibility & contrast

On white

13.45
#23266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#23266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23266B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23266B#FFFFFF#000000##FFFFFF
##23266B1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23266b;
/* rgb */ color: rgb(35, 38, 107);
/* oklch */ color: oklch(31.3% 0.118 275.3);
Tailwind
colors: {
  custom: {
    50: '#676096',
    500: '#23266b',
    950: '#000000',
  },
}
SCSS
$custom: #23266b;
$custom-light: #676096;
$custom-dark: #000000;
JSON
{
  "hex": "#23266b",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 237.5,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31294,
    "c": 0.11784,
    "h": 275.3
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#23266B
secondary
#9E9B4B
accent
#D44EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #23266B

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

Preview Lab → · Contrast checker → · Palette generator →

#23266B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva