#12134F#12134F

#12134F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.107 H 273.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#12134F
RGBrgb(18, 19, 79)
HSLhsl(239, 63%, 19%)
HSVhsv(239, 77%, 31%)
CMYKcmyk(77.2%, 75.9%, 0%, 69%)
CIE-LABlab(10.25, 22.39, -36.80)
CIE-LCHlch(10.25, 43.08, 301.32°)
OKLaboklab(23.56% 0.0072 -0.1064)
OKLCHoklch(23.56% 0.107 273.9)
XYZxyz(1.8931, 1.1587, 7.5195)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12134F #4F4E12
analogous
#12324F #12134F #30124F
triadic
#12134F #4F1213 #134F12
tetradic
#12134F #4F1232 #4F4E12 #124F30
square
#12134F #4F1232 #4F4E12 #124F30
split-complementary
#12134F #4F3012 #324F12
monochromatic
#060619 #07071D #12134F #1D1F81 #292BB3

Accessibility & contrast

On white

17.05
#12134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12134F
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12134F#FFFFFF#000000##FFFFFF
##12134F1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12134f;
/* rgb */ color: rgb(18, 19, 79);
/* oklch */ color: oklch(23.6% 0.107 273.9);
Tailwind
colors: {
  custom: {
    50: '#5b5181',
    500: '#12134f',
    950: '#000000',
  },
}
SCSS
$custom: #12134f;
$custom-light: #5b5181;
$custom-dark: #000000;
JSON
{
  "hex": "#12134f",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 239.016,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23562,
    "c": 0.10661,
    "h": 273.9
  },
  "luminance": 0.01159
}

Semantic roles & 50–950 ramp

primary
#12134F
secondary
#888735
accent
#E342E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12134F

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

Preview Lab → · Contrast checker → · Palette generator →

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