#12193E#12193E

#12193E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.071 H 271.7°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#12193E
RGBrgb(18, 25, 62)
HSLhsl(230, 55%, 16%)
HSVhsv(230, 71%, 24%)
CMYKcmyk(71%, 59.7%, 0%, 75.7%)
CIE-LABlab(10.35, 10.91, -24.76)
CIE-LCHlch(10.35, 27.06, 293.78°)
OKLaboklab(23.13% 0.0021 -0.071)
OKLCHoklch(23.13% 0.071 271.7)
XYZxyz(1.4663, 1.1715, 4.7054)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12193E #3E3712
analogous
#122F3E #12193E #21123E
triadic
#12193E #3E1219 #193E12
tetradic
#12193E #3E122F #3E3712 #123E21
square
#12193E #3E122F #3E3712 #123E21
split-complementary
#12193E #3E2112 #2F3E12
monochromatic
#070A18 #070A18 #12193E #202C6D #2E3F9D

Accessibility & contrast

On white

17.01
#12193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12193E
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12193E#FFFFFF#000000##FFFFFF
##12193E1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12193e;
/* rgb */ color: rgb(18, 25, 62);
/* oklch */ color: oklch(23.1% 0.071 271.7);
Tailwind
colors: {
  custom: {
    50: '#555573',
    500: '#12193e',
    950: '#000000',
  },
}
SCSS
$custom: #12193e;
$custom-light: #555573;
$custom-dark: #000000;
JSON
{
  "hex": "#12193e",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 230.455,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23126,
    "c": 0.07102,
    "h": 271.7
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#12193E
secondary
#776C35
accent
#C749DE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #12193E

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

Preview Lab → · Contrast checker → · Palette generator →

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