#23266E#23266E

#23266E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.122 H 275.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#23266E
RGBrgb(35, 38, 110)
HSLhsl(238, 52%, 28%)
HSVhsv(238, 68%, 43%)
CMYKcmyk(68.2%, 65.5%, 0%, 56.9%)
CIE-LABlab(19.51, 23.70, -42.25)
CIE-LCHlch(19.51, 48.45, 299.29°)
OKLaboklab(31.57% 0.0108 -0.1218)
OKLCHoklch(31.57% 0.122 275.1)
XYZxyz(4.1998, 2.8690, 15.0813)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23266E #6E6B23
analogous
#234B6E #23266E #45236E
triadic
#23266E #6E2326 #266E23
tetradic
#23266E #6E234B #6E6B23 #236E45
square
#23266E #6E234B #6E6B23 #236E45
split-complementary
#23266E #6E4523 #4B6E23
monochromatic
#070817 #141640 #23266E #32369C #474CC4

Accessibility & contrast

On white

13.34
#23266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23266E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23266E#FFFFFF#000000##FFFFFF
##23266E1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23266e;
/* rgb */ color: rgb(35, 38, 110);
/* oklch */ color: oklch(31.6% 0.122 275.1);
Tailwind
colors: {
  custom: {
    50: '#686098',
    500: '#23266e',
    950: '#000000',
  },
}
SCSS
$custom: #23266e;
$custom-light: #686098;
$custom-dark: #000000;
JSON
{
  "hex": "#23266e",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 237.6,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31573,
    "c": 0.12225,
    "h": 275.1
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#23266E
secondary
#A19E4C
accent
#D54DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #23266E

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

Preview Lab → · Contrast checker → · Palette generator →

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