#23307D#23307D

#23307D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.131 H 270.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#23307D
RGBrgb(35, 48, 125)
HSLhsl(231, 56%, 31%)
HSVhsv(231, 72%, 49%)
CMYKcmyk(72%, 61.6%, 0%, 51%)
CIE-LABlab(23.51, 22.51, -45.33)
CIE-LCHlch(23.51, 50.61, 296.41°)
OKLaboklab(34.94% 0.0017 -0.1307)
OKLCHoklch(34.94% 0.131 270.7)
XYZxyz(5.4505, 3.9514, 19.8735)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23307D #7D7023
analogous
#235D7D #23307D #43237D
triadic
#23307D #7D2330 #307D23
tetradic
#23307D #7D235D #7D7023 #237D43
square
#23307D #7D235D #7D7023 #237D43
split-complementary
#23307D #7D4323 #5D7D23
monochromatic
#080B1D #161E4D #23307D #3042AD #4D60CD

Accessibility & contrast

On white

11.73
#23307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#23307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23307D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23307D#FFFFFF#000000##FFFFFF
##23307D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23307d;
/* rgb */ color: rgb(35, 48, 125);
/* oklch */ color: oklch(34.9% 0.131 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b68a3',
    500: '#23307d',
    950: '#000000',
  },
}
SCSS
$custom: #23307d;
$custom-light: #6b68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23307d",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 231.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34937,
    "c": 0.13071,
    "h": 270.7
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#23307D
secondary
#AFA14C
accent
#CA48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23307D

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

Preview Lab → · Contrast checker → · Palette generator →

#23307D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva