#23147B#23147B

#23147B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.160 H 277.4°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#23147B
RGBrgb(35, 20, 123)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 48%)
CMYKcmyk(71.5%, 83.7%, 0%, 51.8%)
CIE-LABlab(16.93, 39.18, -54.87)
CIE-LCHlch(16.93, 67.42, 305.53°)
OKLaboklab(30.14% 0.0206 -0.1585)
OKLCHoklch(30.14% 0.16 277.4)
XYZxyz(4.5173, 2.2873, 18.9385)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23147B #6C7B14
analogous
#14387B #23147B #56147B
triadic
#23147B #7B2314 #147B23
tetradic
#23147B #7B1438 #6C7B14 #147B56
square
#23147B #7B1438 #6C7B14 #147B56
split-complementary
#23147B #7B5614 #387B14
monochromatic
#07041A #140B46 #23147B #321DB0 #462DDD

Accessibility & contrast

On white

14.41
#23147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#23147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23147B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23147B#FFFFFF#000000##FFFFFF
##23147B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #23147b;
/* rgb */ color: rgb(35, 20, 123);
/* oklch */ color: oklch(30.1% 0.160 277.4);
Tailwind
colors: {
  custom: {
    50: '#6d55a2',
    500: '#23147b',
    950: '#000000',
  },
}
SCSS
$custom: #23147b;
$custom-light: #6d55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23147b",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 248.738,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30137,
    "c": 0.15987,
    "h": 277.4
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#23147B
secondary
#9FB13A
accent
#EF39D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23147B

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

Preview Lab → · Contrast checker → · Palette generator →

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