#23315C#23315C

#23315C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.079 H 268.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#23315C
RGBrgb(35, 49, 92)
HSLhsl(225, 45%, 25%)
HSVhsv(225, 62%, 36%)
CMYKcmyk(62%, 46.7%, 0%, 63.9%)
CIE-LABlab(21.31, 9.00, -27.59)
CIE-LCHlch(21.31, 29.02, 288.06°)
OKLaboklab(32.48% -0.0024 -0.0785)
OKLCHoklch(32.48% 0.079 268.2)
XYZxyz(3.7226, 3.3264, 10.5690)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23315C #5C4E23
analogous
#234E5C #23315C #31235C
triadic
#23315C #5C2331 #315C23
tetradic
#23315C #5C234E #5C4E23 #235C31
square
#23315C #5C234E #5C4E23 #235C31
split-complementary
#23315C #5C3123 #4E5C23
monochromatic
#080C16 #121930 #23315C #344988 #4560B5

Accessibility & contrast

On white

12.61
#23315C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#23315C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23315C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23315C#FFFFFF#000000##FFFFFF
##23315C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E365E
Deuteranopia (green-blind)
#16315B
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23315c;
/* rgb */ color: rgb(35, 49, 92);
/* oklch */ color: oklch(32.5% 0.079 268.2);
Tailwind
colors: {
  custom: {
    50: '#63688a',
    500: '#23315c',
    950: '#000000',
  },
}
SCSS
$custom: #23315c;
$custom-light: #63688a;
$custom-dark: #000000;
JSON
{
  "hex": "#23315c",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 225.263,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.07858,
    "h": 268.2
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#23315C
secondary
#907F4B
accent
#B553D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #23315C

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

Preview Lab → · Contrast checker → · Palette generator →

#23315C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva