#23276E#23276E

#23276E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.121 H 274.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#23276E
RGBrgb(35, 39, 110)
HSLhsl(237, 52%, 28%)
HSVhsv(237, 68%, 43%)
CMYKcmyk(68.2%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.78, 23.01, -41.82)
CIE-LCHlch(19.78, 47.73, 298.82°)
OKLaboklab(31.77% 0.0099 -0.1205)
OKLCHoklch(31.77% 0.121 274.7)
XYZxyz(4.2322, 2.9338, 15.0921)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23276E #6E6A23
analogous
#234C6E #23276E #44236E
triadic
#23276E #6E2327 #276E23
tetradic
#23276E #6E234C #6E6A23 #236E44
square
#23276E #6E234C #6E6A23 #236E44
split-complementary
#23276E #6E4423 #4C6E23
monochromatic
#070817 #141740 #23276E #32379C #474EC4

Accessibility & contrast

On white

13.23
#23276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#23276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23276E
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23276E#FFFFFF#000000##FFFFFF
##23276E1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23276e;
/* rgb */ color: rgb(35, 39, 110);
/* oklch */ color: oklch(31.8% 0.121 274.7);
Tailwind
colors: {
  custom: {
    50: '#686198',
    500: '#23276e',
    950: '#000000',
  },
}
SCSS
$custom: #23276e;
$custom-light: #686198;
$custom-dark: #000000;
JSON
{
  "hex": "#23276e",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 236.8,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.1209,
    "h": 274.7
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#23276E
secondary
#A19D4C
accent
#D44DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #23276E

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

Preview Lab → · Contrast checker → · Palette generator →

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