#10338D#10338D

#10338D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.154 H 263.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#10338D
RGBrgb(16, 51, 141)
HSLhsl(223, 80%, 31%)
HSVhsv(223, 89%, 55%)
CMYKcmyk(88.7%, 63.8%, 0%, 44.7%)
CIE-LABlab(24.95, 24.79, -53.02)
CIE-LCHlch(24.95, 58.53, 295.06°)
OKLaboklab(36.23% -0.0163 -0.1536)
OKLCHoklch(36.23% 0.154 263.9)
XYZxyz(6.2035, 4.4001, 25.7165)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10338D #8D6A10
analogous
#10718D #10338D #2B108D
triadic
#10338D #8D1033 #338D10
tetradic
#10338D #8D1071 #8D6A10 #108D2B
square
#10338D #8D1071 #8D6A10 #108D2B
split-complementary
#10338D #8D2B10 #718D10
monochromatic
#040B1F #0A1F56 #10338D #1647C4 #3063E7

Accessibility & contrast

On white

11.17
#10338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#10338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10338D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10338D#FFFFFF#000000##FFFFFF
##10338D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #10338d;
/* rgb */ color: rgb(16, 51, 141);
/* oklch */ color: oklch(36.2% 0.154 263.9);
Tailwind
colors: {
  custom: {
    50: '#696aaf',
    500: '#10338d',
    950: '#000000',
  },
}
SCSS
$custom: #10338d;
$custom-light: #696aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#10338d",
  "rgb": {
    "r": 16,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 223.2,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36229,
    "c": 0.15444,
    "h": 263.9
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#10338D
secondary
#C29B37
accent
#BF32F6
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #10338D

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

Preview Lab → · Contrast checker → · Palette generator →

#10338D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva