#23348F#23348F

#23348F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.151 H 269.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#23348F
RGBrgb(35, 52, 143)
HSLhsl(231, 61%, 35%)
HSVhsv(231, 76%, 56%)
CMYKcmyk(75.5%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.14, 26.69, -52.28)
CIE-LCHlch(26.14, 58.70, 297.05°)
OKLaboklab(37.38% -0.0017 -0.151)
OKLCHoklch(37.38% 0.151 269.4)
XYZxyz(6.8773, 4.7957, 26.5445)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23348F #8F7E23
analogous
#236A8F #23348F #48238F
triadic
#23348F #8F2334 #348F23
tetradic
#23348F #8F236A #8F7E23 #238F48
square
#23348F #8F236A #8F7E23 #238F48
split-complementary
#23348F #8F4823 #6A8F23
monochromatic
#0B102D #17225E #23348F #2F46C0 #576BD6

Accessibility & contrast

On white

10.72
#23348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#23348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23348F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23348F#FFFFFF#000000##FFFFFF
##23348F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #23348f;
/* rgb */ color: rgb(35, 52, 143);
/* oklch */ color: oklch(37.4% 0.151 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f6bb1',
    500: '#23348f',
    950: '#000000',
  },
}
SCSS
$custom: #23348f;
$custom-light: #6f6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#23348f",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 230.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.15106,
    "h": 269.4
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#23348F
secondary
#BAAA54
accent
#CB44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #23348F

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

Preview Lab → · Contrast checker → · Palette generator →

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