#23378A#23378A

#23378A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.140 H 268.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#23378A
RGBrgb(35, 55, 138)
HSLhsl(228, 60%, 34%)
HSVhsv(228, 75%, 54%)
CMYKcmyk(74.6%, 60.1%, 0%, 45.9%)
CIE-LABlab(26.52, 22.72, -48.57)
CIE-LCHlch(26.52, 53.62, 295.07°)
OKLaboklab(37.52% -0.0039 -0.1401)
OKLCHoklch(37.52% 0.14 268.4)
XYZxyz(6.6452, 4.9240, 24.6400)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23378A #8A7623
analogous
#236B8A #23378A #43238A
triadic
#23378A #8A2337 #378A23
tetradic
#23378A #8A236B #8A7623 #238A43
square
#23378A #8A236B #8A7623 #238A43
split-complementary
#23378A #8A4323 #6B8A23
monochromatic
#0A1028 #172459 #23378A #2F4ABB #546DD4

Accessibility & contrast

On white

10.58
#23378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#23378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23378A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23378A#FFFFFF#000000##FFFFFF
##23378A1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #23378a;
/* rgb */ color: rgb(35, 55, 138);
/* oklch */ color: oklch(37.5% 0.140 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d6dad',
    500: '#23378a',
    950: '#000000',
  },
}
SCSS
$custom: #23378a;
$custom-light: #6d6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#23378a",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 228.35,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.14019,
    "h": 268.4
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#23378A
secondary
#B7A451
accent
#C445E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #23378A

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

Preview Lab → · Contrast checker → · Palette generator →

#23378A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva