#23277C#23277C

#23277C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.141 H 273.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#23277C
RGBrgb(35, 39, 124)
HSLhsl(237, 56%, 31%)
HSVhsv(237, 72%, 49%)
CMYKcmyk(71.8%, 68.5%, 0%, 51.4%)
CIE-LABlab(21.07, 28.26, -48.69)
CIE-LCHlch(21.07, 56.29, 300.13°)
OKLaboklab(33.11% 0.0089 -0.1406)
OKLCHoklch(33.11% 0.141 273.6)
XYZxyz(5.0555, 3.2631, 19.4283)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23277C #7C7823
analogous
#23537C #23277C #4B237C
triadic
#23277C #7C2327 #277C23
tetradic
#23277C #7C2353 #7C7823 #237C4B
square
#23277C #7C2353 #7C7823 #237C4B
split-complementary
#23277C #7C4B23 #537C23
monochromatic
#08091D #16184C #23277C #3036AC #4D52CD

Accessibility & contrast

On white

12.71
#23277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#23277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23277C
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23277C#FFFFFF#000000##FFFFFF
##23277C1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23277c;
/* rgb */ color: rgb(35, 39, 124);
/* oklch */ color: oklch(33.1% 0.141 273.6);
Tailwind
colors: {
  custom: {
    50: '#6b61a3',
    500: '#23277c',
    950: '#000000',
  },
}
SCSS
$custom: #23277c;
$custom-light: #6b61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23277c",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 237.303,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33113,
    "c": 0.1409,
    "h": 273.6
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#23277C
secondary
#AFAA4C
accent
#D849DF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23277C

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

Preview Lab → · Contrast checker → · Palette generator →

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