#23277D#23277D

#23277D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.142 H 273.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#23277D
RGBrgb(35, 39, 125)
HSLhsl(237, 56%, 31%)
HSVhsv(237, 72%, 49%)
CMYKcmyk(72%, 68.8%, 0%, 51%)
CIE-LABlab(21.16, 28.63, -49.16)
CIE-LCHlch(21.16, 56.89, 300.22°)
OKLaboklab(33.21% 0.0088 -0.142)
OKLCHoklch(33.21% 0.142 273.5)
XYZxyz(5.1191, 3.2885, 19.7630)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23277D #7D7923
analogous
#23547D #23277D #4C237D
triadic
#23277D #7D2327 #277D23
tetradic
#23277D #7D2354 #7D7923 #237D4C
square
#23277D #7D2354 #7D7923 #237D4C
split-complementary
#23277D #7D4C23 #547D23
monochromatic
#08091D #16184D #23277D #3036AD #4D53CD

Accessibility & contrast

On white

12.67
#23277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#23277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23277D
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23277D#FFFFFF#000000##FFFFFF
##23277D1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23277d;
/* rgb */ color: rgb(35, 39, 125);
/* oklch */ color: oklch(33.2% 0.142 273.5);
Tailwind
colors: {
  custom: {
    50: '#6c61a4',
    500: '#23277d',
    950: '#000000',
  },
}
SCSS
$custom: #23277d;
$custom-light: #6c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23277d",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 237.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33213,
    "c": 0.14229,
    "h": 273.5
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#23277D
secondary
#AFAB4C
accent
#D948E0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23277D

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

Preview Lab → · Contrast checker → · Palette generator →

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