#12193D#12193D

#12193D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.069 H 271.6°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#12193D
RGBrgb(18, 25, 61)
HSLhsl(230, 54%, 15%)
HSVhsv(230, 70%, 24%)
CMYKcmyk(70.5%, 59%, 0%, 76.1%)
CIE-LABlab(10.26, 10.49, -24.18)
CIE-LCHlch(10.26, 26.36, 293.45°)
OKLaboklab(23.04% 0.002 -0.0693)
OKLCHoklch(23.04% 0.069 271.6)
XYZxyz(1.4391, 1.1607, 4.5622)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12193D #3D3612
analogous
#122E3D #12193D #20123D
triadic
#12193D #3D1219 #193D12
tetradic
#12193D #3D122E #3D3612 #123D20
square
#12193D #3D122E #3D3612 #123D20
split-complementary
#12193D #3D2012 #2E3D12
monochromatic
#070A18 #070A18 #12193D #202C6C #2E409C

Accessibility & contrast

On white

17.04
#12193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#12193D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12193D
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12193D#FFFFFF#000000##FFFFFF
##12193D1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12193d;
/* rgb */ color: rgb(18, 25, 61);
/* oklch */ color: oklch(23.0% 0.069 271.6);
Tailwind
colors: {
  custom: {
    50: '#555573',
    500: '#12193d',
    950: '#000000',
  },
}
SCSS
$custom: #12193d;
$custom-light: #555573;
$custom-dark: #000000;
JSON
{
  "hex": "#12193d",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 230.233,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23038,
    "c": 0.06932,
    "h": 271.6
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#12193D
secondary
#766B35
accent
#C64ADE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #12193D

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

Preview Lab → · Contrast checker → · Palette generator →

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