#23277E#23277E

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

Color values

HEX#23277E
RGBrgb(35, 39, 126)
HSLhsl(237, 57%, 32%)
HSVhsv(237, 72%, 49%)
CMYKcmyk(72.2%, 69%, 0%, 50.6%)
CIE-LABlab(21.26, 29.00, -49.64)
CIE-LCHlch(21.26, 57.49, 300.30°)
OKLaboklab(33.31% 0.0087 -0.1434)
OKLCHoklch(33.31% 0.144 273.5)
XYZxyz(5.1833, 3.3142, 20.1012)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23277E #7E7A23
analogous
#23557E #23277E #4D237E
triadic
#23277E #7E2327 #277E23
tetradic
#23277E #7E2355 #7E7A23 #237E4D
square
#23277E #7E2355 #7E7A23 #237E4D
split-complementary
#23277E #7E4D23 #557E23
monochromatic
#08091E #16184E #23277E #3036AE #4E53CE

Accessibility & contrast

On white

12.63
#23277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23277E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23277E#FFFFFF#000000##FFFFFF
##23277E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23277e;
/* rgb */ color: rgb(35, 39, 126);
/* oklch */ color: oklch(33.3% 0.144 273.5);
Tailwind
colors: {
  custom: {
    50: '#6c61a4',
    500: '#23277e',
    950: '#000000',
  },
}
SCSS
$custom: #23277e;
$custom-light: #6c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23277e",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 237.363,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33312,
    "c": 0.14367,
    "h": 273.5
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23277E

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

Preview Lab → · Contrast checker → · Palette generator →

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