#23308E#23308E

#23308E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.155 H 270.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#23308E
RGBrgb(35, 48, 142)
HSLhsl(233, 60%, 35%)
HSVhsv(233, 75%, 56%)
CMYKcmyk(75.4%, 66.2%, 0%, 44.3%)
CIE-LABlab(25.02, 29.00, -53.49)
CIE-LCHlch(25.02, 60.85, 298.47°)
OKLaboklab(36.52% 0.0011 -0.1546)
OKLCHoklch(36.52% 0.155 270.4)
XYZxyz(6.6309, 4.4235, 26.0903)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23308E #8E8123
analogous
#23668E #23308E #4B238E
triadic
#23308E #8E2330 #308E23
tetradic
#23308E #8E2366 #8E8123 #238E4B
square
#23308E #8E2366 #8E8123 #238E4B
split-complementary
#23308E #8E4B23 #668E23
monochromatic
#0B0F2C #171F5D #23308E #2F41BF #5666D5

Accessibility & contrast

On white

11.14
#23308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#23308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23308E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23308E#FFFFFF#000000##FFFFFF
##23308E1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23308e;
/* rgb */ color: rgb(35, 48, 142);
/* oklch */ color: oklch(36.5% 0.155 270.4);
Tailwind
colors: {
  custom: {
    50: '#6f68b0',
    500: '#23308e',
    950: '#000000',
  },
}
SCSS
$custom: #23308e;
$custom-light: #6f68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23308e",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 232.71,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36524,
    "c": 0.15464,
    "h": 270.4
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#23308E
secondary
#B9AD53
accent
#D044E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #23308E

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

Preview Lab → · Contrast checker → · Palette generator →

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