#23226F#23226F

#23226F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.129 H 276.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#23226F
RGBrgb(35, 34, 111)
HSLhsl(241, 53%, 28%)
HSVhsv(241, 69%, 44%)
CMYKcmyk(68.5%, 69.4%, 0%, 56.5%)
CIE-LABlab(18.58, 26.79, -44.43)
CIE-LCHlch(18.58, 51.88, 301.09°)
OKLaboklab(30.92% 0.0142 -0.1282)
OKLCHoklch(30.92% 0.129 276.3)
XYZxyz(4.1335, 2.6487, 15.3293)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23226F #6E6F22
analogous
#22476F #23226F #49226F
triadic
#23226F #6F2322 #226F23
tetradic
#23226F #6F2247 #6E6F22 #226F49
square
#23226F #6F2247 #6E6F22 #226F49
split-complementary
#23226F #6F4922 #476F22
monochromatic
#070717 #141440 #23226F #32309E #4745C6

Accessibility & contrast

On white

13.73
#23226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#23226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23226F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23226F#FFFFFF#000000##FFFFFF
##23226F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23226f;
/* rgb */ color: rgb(35, 34, 111);
/* oklch */ color: oklch(30.9% 0.129 276.3);
Tailwind
colors: {
  custom: {
    50: '#695d99',
    500: '#23226f',
    950: '#000000',
  },
}
SCSS
$custom: #23226f;
$custom-light: #695d99;
$custom-dark: #000000;
JSON
{
  "hex": "#23226f",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 240.779,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30921,
    "c": 0.12895,
    "h": 276.3
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#23226F
secondary
#A1A24A
accent
#DD4BDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23226F

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

Preview Lab → · Contrast checker → · Palette generator →

#23226F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva