#23247B#23247B

#23247B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.143 H 274.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#23247B
RGBrgb(35, 36, 123)
HSLhsl(239, 56%, 31%)
HSVhsv(239, 72%, 48%)
CMYKcmyk(71.5%, 70.7%, 0%, 51.8%)
CIE-LABlab(20.24, 29.87, -49.41)
CIE-LCHlch(20.24, 57.74, 301.15°)
OKLaboklab(32.48% 0.0112 -0.1427)
OKLCHoklch(32.48% 0.143 274.5)
XYZxyz(4.8980, 3.0487, 19.0654)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23247B #7B7A23
analogous
#23507B #23247B #4E237B
triadic
#23247B #7B2324 #247B23
tetradic
#23247B #7B2350 #7B7A23 #237B4E
square
#23247B #7B2350 #7B7A23 #237B4E
split-complementary
#23247B #7B4E23 #507B23
monochromatic
#08081C #15164B #23247B #3132AB #4C4ECC

Accessibility & contrast

On white

13.05
#23247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#23247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23247B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23247B#FFFFFF#000000##FFFFFF
##23247B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #23247b;
/* rgb */ color: rgb(35, 36, 123);
/* oklch */ color: oklch(32.5% 0.143 274.5);
Tailwind
colors: {
  custom: {
    50: '#6b5fa2',
    500: '#23247b',
    950: '#000000',
  },
}
SCSS
$custom: #23247b;
$custom-light: #6b5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#23247b",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 239.318,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.14319,
    "h": 274.5
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#23247B
secondary
#AEAC4C
accent
#DD49DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #23247B

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

Preview Lab → · Contrast checker → · Palette generator →

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