#23338C#23338C

#23338C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.148 H 269.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#23338C
RGBrgb(35, 51, 140)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 55%)
CMYKcmyk(75%, 63.6%, 0%, 45.1%)
CIE-LABlab(25.62, 26.22, -51.28)
CIE-LCHlch(25.62, 57.60, 297.08°)
OKLaboklab(36.9% -0.0009 -0.1481)
OKLCHoklch(36.9% 0.148 269.7)
XYZxyz(6.6090, 4.6177, 25.3489)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23338C #8C7C23
analogous
#23688C #23338C #48238C
triadic
#23338C #8C2333 #338C23
tetradic
#23338C #8C2368 #8C7C23 #238C48
square
#23338C #8C2368 #8C7C23 #238C48
split-complementary
#23338C #8C4823 #688C23
monochromatic
#0B0F2A #17215B #23338C #2F45BD #5568D4

Accessibility & contrast

On white

10.92
#23338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#23338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23338C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23338C#FFFFFF#000000##FFFFFF
##23338C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23338c;
/* rgb */ color: rgb(35, 51, 140);
/* oklch */ color: oklch(36.9% 0.148 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e6aae',
    500: '#23338c',
    950: '#000000',
  },
}
SCSS
$custom: #23338c;
$custom-light: #6e6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#23338c",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 230.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36903,
    "c": 0.14814,
    "h": 269.7
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#23338C
secondary
#B8A952
accent
#CB45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23338C

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

Preview Lab → · Contrast checker → · Palette generator →

#23338C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva