#10198D#10198D

#10198D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.183 H 267.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#10198D
RGBrgb(16, 25, 141)
HSLhsl(236, 80%, 31%)
HSVhsv(236, 89%, 55%)
CMYKcmyk(88.7%, 82.3%, 0%, 44.7%)
CIE-LABlab(18.92, 41.31, -62.97)
CIE-LCHlch(18.92, 75.32, 303.27°)
OKLaboklab(31.87% -0.008 -0.1825)
OKLCHoklch(31.87% 0.183 267.5)
XYZxyz(5.3674, 2.7278, 25.4378)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10198D #8D8410
analogous
#10578D #10198D #45108D
triadic
#10198D #8D1019 #198D10
tetradic
#10198D #8D1057 #8D8410 #108D45
square
#10198D #8D1057 #8D8410 #108D45
split-complementary
#10198D #8D4510 #578D10
monochromatic
#04061F #0A0F56 #10198D #1623C4 #303DE7

Accessibility & contrast

On white

13.59
#10198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#10198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10198D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10198D#FFFFFF#000000##FFFFFF
##10198D1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #10198d;
/* rgb */ color: rgb(16, 25, 141);
/* oklch */ color: oklch(31.9% 0.183 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c58b0',
    500: '#10198d',
    950: '#000000',
  },
}
SCSS
$custom: #10198d;
$custom-light: #6c58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#10198d",
  "rgb": {
    "r": 16,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 235.68,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31867,
    "c": 0.18265,
    "h": 267.5
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#10198D
secondary
#C2B837
accent
#E832F6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080311
muted
#7B7880

Preview Lab

Preview with #10198D

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

Preview Lab → · Contrast checker → · Palette generator →

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