#23279D#23279D

#23279D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.184 H 271.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#23279D
RGBrgb(35, 39, 157)
HSLhsl(238, 64%, 38%)
HSVhsv(238, 78%, 62%)
CMYKcmyk(77.7%, 75.2%, 0%, 38.4%)
CIE-LABlab(24.46, 40.10, -63.66)
CIE-LCHlch(24.46, 75.24, 302.21°)
OKLaboklab(36.57% 0.0043 -0.1843)
OKLCHoklch(36.57% 0.184 271.3)
XYZxyz(7.5024, 4.2419, 32.3151)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23279D #9D9923
analogous
#23649D #23279D #5C239D
triadic
#23279D #9D2327 #279D23
tetradic
#23279D #9D2364 #9D9923 #239D5C
square
#23279D #9D2364 #9D9923 #239D5C
split-complementary
#23279D #9D5C23 #649D23
monochromatic
#0D0E39 #181B6B #23279D #2E33CF #5F63DB

Accessibility & contrast

On white

11.36
#23279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#23279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23279D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23279D#FFFFFF#000000##FFFFFF
##23279D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23279d;
/* rgb */ color: rgb(35, 39, 157);
/* oklch */ color: oklch(36.6% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#7462bb',
    500: '#23279d',
    950: '#000000',
  },
}
SCSS
$custom: #23279d;
$custom-light: #7462bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23279d",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 238.033,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36568,
    "c": 0.18435,
    "h": 271.3
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#23279D
secondary
#C0BD5C
accent
#E141E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23279D

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

Preview Lab → · Contrast checker → · Palette generator →

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