#12134B#12134B

#12134B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.101 H 274.4°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#12134B
RGBrgb(18, 19, 75)
HSLhsl(239, 61%, 18%)
HSVhsv(239, 76%, 29%)
CMYKcmyk(76%, 74.7%, 0%, 70.6%)
CIE-LABlab(9.82, 20.80, -34.75)
CIE-LCHlch(9.82, 40.50, 300.91°)
OKLaboklab(23.12% 0.0078 -0.1004)
OKLCHoklch(23.12% 0.101 274.4)
XYZxyz(1.7519, 1.1022, 6.7757)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12134B #4B4A12
analogous
#122F4B #12134B #2D124B
triadic
#12134B #4B1213 #134B12
tetradic
#12134B #4B122F #4B4A12 #124B2D
square
#12134B #4B122F #4B4A12 #124B2D
split-complementary
#12134B #4B2D12 #2F4B12
monochromatic
#060619 #06061A #12134B #1E207C #2A2CAE

Accessibility & contrast

On white

17.21
#12134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12134B
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12134B#FFFFFF#000000##FFFFFF
##12134B1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#00184A
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #12134b;
/* rgb */ color: rgb(18, 19, 75);
/* oklch */ color: oklch(23.1% 0.101 274.4);
Tailwind
colors: {
  custom: {
    50: '#5a517e',
    500: '#12134b',
    950: '#000000',
  },
}
SCSS
$custom: #12134b;
$custom-light: #5a517e;
$custom-dark: #000000;
JSON
{
  "hex": "#12134b",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 238.947,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23116,
    "c": 0.10067,
    "h": 274.4
  },
  "luminance": 0.01102
}

Semantic roles & 50–950 ramp

primary
#12134B
secondary
#848335
accent
#E243E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12134B

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

Preview Lab → · Contrast checker → · Palette generator →

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