#12134A#12134A

#12134A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.099 H 274.6°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#12134A
RGBrgb(18, 19, 74)
HSLhsl(239, 61%, 18%)
HSVhsv(239, 76%, 29%)
CMYKcmyk(75.7%, 74.3%, 0%, 71%)
CIE-LABlab(9.71, 20.40, -34.23)
CIE-LCHlch(9.71, 39.85, 300.80°)
OKLaboklab(23.01% 0.0079 -0.0988)
OKLCHoklch(23.01% 0.099 274.6)
XYZxyz(1.7179, 1.0886, 6.5968)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12134A #4A4912
analogous
#122F4A #12134A #2D124A
triadic
#12134A #4A1213 #134A12
tetradic
#12134A #4A122F #4A4912 #124A2D
square
#12134A #4A122F #4A4912 #124A2D
split-complementary
#12134A #4A2D12 #2F4A12
monochromatic
#060619 #060619 #12134A #1E207B #2A2CAC

Accessibility & contrast

On white

17.24
#12134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#12134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12134A
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12134A#FFFFFF#000000##FFFFFF
##12134A1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#00222C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #12134a;
/* rgb */ color: rgb(18, 19, 74);
/* oklch */ color: oklch(23.0% 0.099 274.6);
Tailwind
colors: {
  custom: {
    50: '#59507d',
    500: '#12134a',
    950: '#000000',
  },
}
SCSS
$custom: #12134a;
$custom-light: #59507d;
$custom-dark: #000000;
JSON
{
  "hex": "#12134a",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 238.929,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23007,
    "c": 0.09916,
    "h": 274.6
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#12134A
secondary
#838235
accent
#E144E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12134A

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

Preview Lab → · Contrast checker → · Palette generator →

#12134A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva