#23337A#23337A

#23337A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.122 H 269.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#23337A
RGBrgb(35, 51, 122)
HSLhsl(229, 55%, 31%)
HSVhsv(229, 71%, 48%)
CMYKcmyk(71.3%, 58.2%, 0%, 52.2%)
CIE-LABlab(24.10, 19.26, -42.48)
CIE-LCHlch(24.10, 46.64, 294.38°)
OKLaboklab(35.3% -0.001 -0.1223)
OKLCHoklch(35.3% 0.122 269.5)
XYZxyz(5.3886, 4.1296, 18.9217)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23337A #7A6A23
analogous
#235E7A #23337A #3F237A
triadic
#23337A #7A2333 #337A23
tetradic
#23337A #7A235E #7A6A23 #237A3F
square
#23337A #7A235E #7A6A23 #237A3F
split-complementary
#23337A #7A3F23 #5E7A23
monochromatic
#080B1B #151F4A #23337A #3147AA #4C63CC

Accessibility & contrast

On white

11.50
#23337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#23337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23337A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23337A#FFFFFF#000000##FFFFFF
##23337A1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23337a;
/* rgb */ color: rgb(35, 51, 122);
/* oklch */ color: oklch(35.3% 0.122 269.5);
Tailwind
colors: {
  custom: {
    50: '#6a6aa1',
    500: '#23337a',
    950: '#000000',
  },
}
SCSS
$custom: #23337a;
$custom-light: #6a6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#23337a",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 228.966,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.12228,
    "h": 269.5
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#23337A
secondary
#AD9B4C
accent
#C349DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23337A

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

Preview Lab → · Contrast checker → · Palette generator →

#23337A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva