#23279F#23279F

#23279F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.187 H 271.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#23279F
RGBrgb(35, 39, 159)
HSLhsl(238, 64%, 38%)
HSVhsv(238, 78%, 62%)
CMYKcmyk(78%, 75.5%, 0%, 37.6%)
CIE-LABlab(24.67, 40.79, -64.52)
CIE-LCHlch(24.67, 76.33, 302.31°)
OKLaboklab(36.79% 0.0039 -0.1868)
OKLCHoklch(36.79% 0.187 271.2)
XYZxyz(7.6745, 4.3107, 33.2217)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23279F #9F9B23
analogous
#23659F #23279F #5D239F
triadic
#23279F #9F2327 #279F23
tetradic
#23279F #9F2365 #9F9B23 #239F5D
square
#23279F #9F2365 #9F9B23 #239F5D
split-complementary
#23279F #9F5D23 #659F23
monochromatic
#0D0E3B #181B6D #23279F #2E33D1 #6064DC

Accessibility & contrast

On white

11.28
#23279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#23279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23279F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23279F#FFFFFF#000000##FFFFFF
##23279F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23279f;
/* rgb */ color: rgb(35, 39, 159);
/* oklch */ color: oklch(36.8% 0.187 271.2);
Tailwind
colors: {
  custom: {
    50: '#7463bd',
    500: '#23279f',
    950: '#000000',
  },
}
SCSS
$custom: #23279f;
$custom-light: #7463bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23279f",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 238.065,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36787,
    "c": 0.18684,
    "h": 271.2
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#23279F
secondary
#C1BE5D
accent
#E241E7
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23279F

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

Preview Lab → · Contrast checker → · Palette generator →

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