#23307F#23307F

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

Color values

HEX#23307F
RGBrgb(35, 48, 127)
HSLhsl(232, 57%, 32%)
HSVhsv(232, 72%, 50%)
CMYKcmyk(72.4%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.68, 23.28, -46.31)
CIE-LCHlch(23.68, 51.84, 296.69°)
OKLaboklab(35.12% 0.0017 -0.1336)
OKLCHoklch(35.12% 0.134 270.7)
XYZxyz(5.5796, 4.0030, 20.5532)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23307F #7F7223
analogous
#235E7F #23307F #44237F
triadic
#23307F #7F2330 #307F23
tetradic
#23307F #7F235E #7F7223 #237F44
square
#23307F #7F235E #7F7223 #237F44
split-complementary
#23307F #7F4423 #5E7F23
monochromatic
#090C1F #161E4F #23307F #3042AF #4E60CE

Accessibility & contrast

On white

11.66
#23307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#23307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23307F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23307F#FFFFFF#000000##FFFFFF
##23307F1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #23307f;
/* rgb */ color: rgb(35, 48, 127);
/* oklch */ color: oklch(35.1% 0.134 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b68a5',
    500: '#23307f',
    950: '#000000',
  },
}
SCSS
$custom: #23307f;
$custom-light: #6b68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23307f",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 231.522,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35118,
    "c": 0.1336,
    "h": 270.7
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#23307F
secondary
#B1A34C
accent
#CB48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #23307F

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

Preview Lab → · Contrast checker → · Palette generator →

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