#23226E#23226E

#23226E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.128 H 276.5°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#23226E
RGBrgb(35, 34, 110)
HSLhsl(241, 53%, 28%)
HSVhsv(241, 69%, 43%)
CMYKcmyk(68.2%, 69.1%, 0%, 56.9%)
CIE-LABlab(18.48, 26.42, -43.93)
CIE-LCHlch(18.48, 51.27, 301.02°)
OKLaboklab(30.82% 0.0143 -0.1267)
OKLCHoklch(30.82% 0.128 276.5)
XYZxyz(4.0787, 2.6268, 15.0409)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23226E #6D6E22
analogous
#22476E #23226E #49226E
triadic
#23226E #6E2322 #226E23
tetradic
#23226E #6E2247 #6D6E22 #226E49
square
#23226E #6E2247 #6D6E22 #226E49
split-complementary
#23226E #6E4922 #476E22
monochromatic
#070717 #14143F #23226E #32309D #4745C5

Accessibility & contrast

On white

13.77
#23226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23226E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23226E#FFFFFF#000000##FFFFFF
##23226E1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23226e;
/* rgb */ color: rgb(35, 34, 110);
/* oklch */ color: oklch(30.8% 0.128 276.5);
Tailwind
colors: {
  custom: {
    50: '#685d98',
    500: '#23226e',
    950: '#000000',
  },
}
SCSS
$custom: #23226e;
$custom-light: #685d98;
$custom-dark: #000000;
JSON
{
  "hex": "#23226e",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 240.789,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30822,
    "c": 0.12753,
    "h": 276.5
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#23226E
secondary
#A0A14A
accent
#DC4CDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #23226E

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

Preview Lab → · Contrast checker → · Palette generator →

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