#23338D#23338D

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

Color values

HEX#23338D
RGBrgb(35, 51, 141)
HSLhsl(231, 60%, 35%)
HSVhsv(231, 75%, 55%)
CMYKcmyk(75.2%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.71, 26.60, -51.76)
CIE-LCHlch(25.71, 58.19, 297.20°)
OKLaboklab(37% -0.0009 -0.1495)
OKLCHoklch(37% 0.15 269.7)
XYZxyz(6.6830, 4.6474, 25.7390)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23338D #8D7D23
analogous
#23688D #23338D #48238D
triadic
#23338D #8D2333 #338D23
tetradic
#23338D #8D2368 #8D7D23 #238D48
square
#23338D #8D2368 #8D7D23 #238D48
split-complementary
#23338D #8D4823 #688D23
monochromatic
#0B102B #17215C #23338D #2F45BE #5569D5

Accessibility & contrast

On white

10.88
#23338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#23338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23338D
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23338D#FFFFFF#000000##FFFFFF
##23338D1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23338d;
/* rgb */ color: rgb(35, 51, 141);
/* oklch */ color: oklch(37.0% 0.150 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e6aaf',
    500: '#23338d',
    950: '#000000',
  },
}
SCSS
$custom: #23338d;
$custom-light: #6e6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#23338d",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 230.943,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36996,
    "c": 0.14953,
    "h": 269.7
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#23338D
secondary
#B9AA53
accent
#CB44E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #23338D

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

Preview Lab → · Contrast checker → · Palette generator →

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