#23388E#23388E

#23388E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.145 H 268.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#23388E
RGBrgb(35, 56, 142)
HSLhsl(228, 60%, 35%)
HSVhsv(228, 75%, 56%)
CMYKcmyk(75.4%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.12, 23.58, -50.06)
CIE-LCHlch(27.12, 55.34, 295.23°)
OKLaboklab(38.07% -0.0046 -0.1445)
OKLCHoklch(38.07% 0.145 268.2)
XYZxyz(6.9881, 5.1379, 26.2094)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23388E #8E7923
analogous
#236E8E #23388E #43238E
triadic
#23388E #8E2338 #388E23
tetradic
#23388E #8E236E #8E7923 #238E43
square
#23388E #8E236E #8E7923 #238E43
split-complementary
#23388E #8E4323 #6E8E23
monochromatic
#0B112C #17255D #23388E #2F4BBF #566FD5

Accessibility & contrast

On white

10.36
#23388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#23388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23388E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23388E#FFFFFF#000000##FFFFFF
##23388E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #23388e;
/* rgb */ color: rgb(35, 56, 142);
/* oklch */ color: oklch(38.1% 0.145 268.2);
Tailwind
colors: {
  custom: {
    50: '#6e6eb0',
    500: '#23388e',
    950: '#000000',
  },
}
SCSS
$custom: #23388e;
$custom-light: #6e6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#23388e",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 228.224,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38075,
    "c": 0.14456,
    "h": 268.2
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#23388E
secondary
#B9A553
accent
#C444E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #23388E

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

Preview Lab → · Contrast checker → · Palette generator →

#23388E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva