#23339F#23339F

#23339F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.174 H 269.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#23339F
RGBrgb(35, 51, 159)
HSLhsl(232, 64%, 38%)
HSVhsv(232, 78%, 62%)
CMYKcmyk(78%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.37, 33.38, -60.07)
CIE-LCHlch(27.37, 68.72, 299.06°)
OKLaboklab(38.73% -0.0019 -0.1739)
OKLCHoklch(38.73% 0.174 269.4)
XYZxyz(8.1328, 5.2273, 33.3745)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23339F #9F8F23
analogous
#23719F #23339F #51239F
triadic
#23339F #9F2333 #339F23
tetradic
#23339F #9F2371 #9F8F23 #239F51
square
#23339F #9F2371 #9F8F23 #239F51
split-complementary
#23339F #9F5123 #719F23
monochromatic
#0D133B #18236D #23339F #2E43D1 #6070DC

Accessibility & contrast

On white

10.27
#23339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#23339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23339F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23339F#FFFFFF#000000##FFFFFF
##23339F1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #23339f;
/* rgb */ color: rgb(35, 51, 159);
/* oklch */ color: oklch(38.7% 0.174 269.4);
Tailwind
colors: {
  custom: {
    50: '#736bbc',
    500: '#23339f',
    950: '#000000',
  },
}
SCSS
$custom: #23339f;
$custom-light: #736bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#23339f",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 232.258,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.17387,
    "h": 269.4
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#23339F
secondary
#C1B45D
accent
#D241E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #23339F

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

Preview Lab → · Contrast checker → · Palette generator →

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