#12193F#12193F

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

Color values

HEX#12193F
RGBrgb(18, 25, 63)
HSLhsl(231, 56%, 16%)
HSVhsv(231, 71%, 25%)
CMYKcmyk(71.4%, 60.3%, 0%, 75.3%)
CIE-LABlab(10.43, 11.33, -25.34)
CIE-LCHlch(10.43, 27.76, 294.10°)
OKLaboklab(23.22% 0.0022 -0.0727)
OKLCHoklch(23.22% 0.073 271.7)
XYZxyz(1.4940, 1.1826, 4.8512)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12193F #3F3812
analogous
#122F3F #12193F #21123F
triadic
#12193F #3F1219 #193F12
tetradic
#12193F #3F122F #3F3812 #123F21
square
#12193F #3F122F #3F3812 #123F21
split-complementary
#12193F #3F2112 #2F3F12
monochromatic
#070918 #070918 #12193F #202C6F #2D3F9E

Accessibility & contrast

On white

16.98
#12193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#12193F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12193F
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12193F#FFFFFF#000000##FFFFFF
##12193F1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12193f;
/* rgb */ color: rgb(18, 25, 63);
/* oklch */ color: oklch(23.2% 0.073 271.7);
Tailwind
colors: {
  custom: {
    50: '#565574',
    500: '#12193f',
    950: '#000000',
  },
}
SCSS
$custom: #12193f;
$custom-light: #565574;
$custom-dark: #000000;
JSON
{
  "hex": "#12193f",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 230.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23215,
    "c": 0.07271,
    "h": 271.7
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#12193F
secondary
#786E35
accent
#C849DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030308
muted
#78787B

Preview Lab

Preview with #12193F

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

Preview Lab → · Contrast checker → · Palette generator →

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