#12134D#12134D

#12134D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.104 H 274.1°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#12134D
RGBrgb(18, 19, 77)
HSLhsl(239, 62%, 19%)
HSVhsv(239, 77%, 30%)
CMYKcmyk(76.6%, 75.3%, 0%, 69.8%)
CIE-LABlab(10.03, 21.60, -35.78)
CIE-LCHlch(10.03, 41.79, 301.12°)
OKLaboklab(23.34% 0.0075 -0.1034)
OKLCHoklch(23.34% 0.104 274.1)
XYZxyz(1.8214, 1.1300, 7.1419)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12134D #4D4C12
analogous
#12304D #12134D #2E124D
triadic
#12134D #4D1213 #134D12
tetradic
#12134D #4D1230 #4D4C12 #124D2E
square
#12134D #4D1230 #4D4C12 #124D2E
split-complementary
#12134D #4D2E12 #304D12
monochromatic
#060619 #06071B #12134D #1E1F7F #292BB0

Accessibility & contrast

On white

17.13
#12134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12134D
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12134D#FFFFFF#000000##FFFFFF
##12134D1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12134d;
/* rgb */ color: rgb(18, 19, 77);
/* oklch */ color: oklch(23.3% 0.104 274.1);
Tailwind
colors: {
  custom: {
    50: '#5a517f',
    500: '#12134d',
    950: '#000000',
  },
}
SCSS
$custom: #12134d;
$custom-light: #5a517f;
$custom-dark: #000000;
JSON
{
  "hex": "#12134d",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 238.983,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23338,
    "c": 0.10366,
    "h": 274.1
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#12134D
secondary
#868535
accent
#E243E5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12134D

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

Preview Lab → · Contrast checker → · Palette generator →

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