#23315B#23315B

#23315B is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.077 H 268.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#23315B
RGBrgb(35, 49, 91)
HSLhsl(225, 44%, 25%)
HSVhsv(225, 62%, 36%)
CMYKcmyk(61.5%, 46.2%, 0%, 64.3%)
CIE-LABlab(21.24, 8.61, -27.04)
CIE-LCHlch(21.24, 28.38, 287.67°)
OKLaboklab(32.41% -0.0026 -0.0769)
OKLCHoklch(32.41% 0.077 268.1)
XYZxyz(3.6791, 3.3090, 10.3403)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23315B #5B4D23
analogous
#234D5B #23315B #31235B
triadic
#23315B #5B2331 #315B23
tetradic
#23315B #5B234D #5B4D23 #235B31
square
#23315B #5B234D #5B4D23 #235B31
split-complementary
#23315B #5B3123 #4D5B23
monochromatic
#090C16 #12192F #23315B #344987 #4561B3

Accessibility & contrast

On white

12.64
#23315B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#23315B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23315B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23315B#FFFFFF#000000##FFFFFF
##23315B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F365D
Deuteranopia (green-blind)
#17315A
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #23315b;
/* rgb */ color: rgb(35, 49, 91);
/* oklch */ color: oklch(32.4% 0.077 268.1);
Tailwind
colors: {
  custom: {
    50: '#63688a',
    500: '#23315b',
    950: '#000000',
  },
}
SCSS
$custom: #23315b;
$custom-light: #63688a;
$custom-dark: #000000;
JSON
{
  "hex": "#23315b",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 225,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.07695,
    "h": 268.1
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#23315B
secondary
#8F7E4B
accent
#B454D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #23315B

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

Preview Lab → · Contrast checker → · Palette generator →

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