#10298D#10298D

#10298D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.166 H 265.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#10298D
RGBrgb(16, 41, 141)
HSLhsl(228, 80%, 31%)
HSVhsv(228, 89%, 55%)
CMYKcmyk(88.7%, 70.9%, 0%, 44.7%)
CIE-LABlab(22.37, 31.62, -57.27)
CIE-LCHlch(22.37, 65.41, 298.90°)
OKLaboklab(34.33% -0.012 -0.166)
OKLCHoklch(34.33% 0.166 265.9)
XYZxyz(5.8127, 3.6184, 25.5862)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10298D #8D7410
analogous
#10678D #10298D #35108D
triadic
#10298D #8D1029 #298D10
tetradic
#10298D #8D1067 #8D7410 #108D35
square
#10298D #8D1067 #8D7410 #108D35
split-complementary
#10298D #8D3510 #678D10
monochromatic
#04091F #0A1956 #10298D #1639C4 #3055E7

Accessibility & contrast

On white

12.18
#10298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#10298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10298D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10298D#FFFFFF#000000##FFFFFF
##10298D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #10298d;
/* rgb */ color: rgb(16, 41, 141);
/* oklch */ color: oklch(34.3% 0.166 265.9);
Tailwind
colors: {
  custom: {
    50: '#6a63af',
    500: '#10298d',
    950: '#000000',
  },
}
SCSS
$custom: #10298d;
$custom-light: #6a63af;
$custom-dark: #000000;
JSON
{
  "hex": "#10298d",
  "rgb": {
    "r": 16,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 228,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34328,
    "c": 0.16648,
    "h": 265.9
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#10298D
secondary
#C2A637
accent
#CF32F6
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #10298D

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

Preview Lab → · Contrast checker → · Palette generator →

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