#12134C#12134C

#12134C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.102 H 274.3°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#12134C
RGBrgb(18, 19, 76)
HSLhsl(239, 62%, 18%)
HSVhsv(239, 76%, 30%)
CMYKcmyk(76.3%, 75%, 0%, 70.2%)
CIE-LABlab(9.92, 21.20, -35.26)
CIE-LCHlch(9.92, 41.15, 301.02°)
OKLaboklab(23.23% 0.0076 -0.1019)
OKLCHoklch(23.23% 0.102 274.3)
XYZxyz(1.7864, 1.1160, 6.9573)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12134C #4C4B12
analogous
#12304C #12134C #2E124C
triadic
#12134C #4C1213 #134C12
tetradic
#12134C #4C1230 #4C4B12 #124C2E
square
#12134C #4C1230 #4C4B12 #124C2E
split-complementary
#12134C #4C2E12 #304C12
monochromatic
#060619 #06071B #12134C #1E1F7D #292CAF

Accessibility & contrast

On white

17.17
#12134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12134C
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12134C#FFFFFF#000000##FFFFFF
##12134C1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #12134c;
/* rgb */ color: rgb(18, 19, 76);
/* oklch */ color: oklch(23.2% 0.102 274.3);
Tailwind
colors: {
  custom: {
    50: '#5a517f',
    500: '#12134c',
    950: '#000000',
  },
}
SCSS
$custom: #12134c;
$custom-light: #5a517f;
$custom-dark: #000000;
JSON
{
  "hex": "#12134c",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 238.966,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23227,
    "c": 0.10216,
    "h": 274.3
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12134C

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

Preview Lab → · Contrast checker → · Palette generator →

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