#23276F#23276F

#23276F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.122 H 274.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#23276F
RGBrgb(35, 39, 111)
HSLhsl(237, 52%, 29%)
HSVhsv(237, 68%, 44%)
CMYKcmyk(68.5%, 64.9%, 0%, 56.5%)
CIE-LABlab(19.87, 23.39, -42.32)
CIE-LCHlch(19.87, 48.35, 298.93°)
OKLaboklab(31.86% 0.0099 -0.122)
OKLCHoklch(31.86% 0.122 274.6)
XYZxyz(4.2870, 2.9557, 15.3804)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23276F #6F6B23
analogous
#234D6F #23276F #45236F
triadic
#23276F #6F2327 #276F23
tetradic
#23276F #6F234D #6F6B23 #236F45
square
#23276F #6F234D #6F6B23 #236F45
split-complementary
#23276F #6F4523 #4D6F23
monochromatic
#070817 #141740 #23276F #32379E #474EC5

Accessibility & contrast

On white

13.20
#23276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23276F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23276F#FFFFFF#000000##FFFFFF
##23276F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23276f;
/* rgb */ color: rgb(35, 39, 111);
/* oklch */ color: oklch(31.9% 0.122 274.6);
Tailwind
colors: {
  custom: {
    50: '#686199',
    500: '#23276f',
    950: '#000000',
  },
}
SCSS
$custom: #23276f;
$custom-light: #686199;
$custom-dark: #000000;
JSON
{
  "hex": "#23276f",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 236.842,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31862,
    "c": 0.12236,
    "h": 274.6
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#23276F
secondary
#A29E4C
accent
#D44CDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #23276F

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

Preview Lab → · Contrast checker → · Palette generator →

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