#23277B#23277B

#23277B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.140 H 273.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#23277B
RGBrgb(35, 39, 123)
HSLhsl(237, 56%, 31%)
HSVhsv(237, 72%, 48%)
CMYKcmyk(71.5%, 68.3%, 0%, 51.8%)
CIE-LABlab(20.97, 27.89, -48.21)
CIE-LCHlch(20.97, 55.69, 300.05°)
OKLaboklab(33.01% 0.009 -0.1392)
OKLCHoklch(33.01% 0.14 273.7)
XYZxyz(4.9926, 3.2380, 19.0969)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23277B #7B7723
analogous
#23537B #23277B #4B237B
triadic
#23277B #7B2327 #277B23
tetradic
#23277B #7B2353 #7B7723 #237B4B
square
#23277B #7B2353 #7B7723 #237B4B
split-complementary
#23277B #7B4B23 #537B23
monochromatic
#08091C #15184B #23277B #3136AB #4C52CC

Accessibility & contrast

On white

12.75
#23277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23277B
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23277B#FFFFFF#000000##FFFFFF
##23277B1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #23277b;
/* rgb */ color: rgb(35, 39, 123);
/* oklch */ color: oklch(33.0% 0.140 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b61a2',
    500: '#23277b',
    950: '#000000',
  },
}
SCSS
$custom: #23277b;
$custom-light: #6b61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23277b",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 237.273,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.13951,
    "h": 273.7
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23277B

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

Preview Lab → · Contrast checker → · Palette generator →

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