#23307B#23307B

#23307B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.128 H 270.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#23307B
RGBrgb(35, 48, 123)
HSLhsl(231, 56%, 31%)
HSVhsv(231, 72%, 48%)
CMYKcmyk(71.5%, 61%, 0%, 51.8%)
CIE-LABlab(23.34, 21.74, -44.34)
CIE-LCHlch(23.34, 49.38, 296.12°)
OKLaboklab(34.76% 0.0017 -0.1278)
OKLCHoklch(34.76% 0.128 270.7)
XYZxyz(5.3240, 3.9008, 19.2074)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23307B #7B6E23
analogous
#235C7B #23307B #42237B
triadic
#23307B #7B2330 #307B23
tetradic
#23307B #7B235C #7B6E23 #237B42
square
#23307B #7B235C #7B6E23 #237B42
split-complementary
#23307B #7B4223 #5C7B23
monochromatic
#080B1C #151D4B #23307B #3143AB #4C5FCC

Accessibility & contrast

On white

11.80
#23307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#23307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23307B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23307B#FFFFFF#000000##FFFFFF
##23307B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23307b;
/* rgb */ color: rgb(35, 48, 123);
/* oklch */ color: oklch(34.8% 0.128 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a68a2',
    500: '#23307b',
    950: '#000000',
  },
}
SCSS
$custom: #23307b;
$custom-light: #6a68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23307b",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 231.136,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.1278,
    "h": 270.7
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#23307B
secondary
#AE9F4C
accent
#C949DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23307B

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

Preview Lab → · Contrast checker → · Palette generator →

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