#12144C#12144C

#12144C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.101 H 273.9°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#12144C
RGBrgb(18, 20, 76)
HSLhsl(238, 62%, 18%)
HSVhsv(238, 76%, 30%)
CMYKcmyk(76.3%, 73.7%, 0%, 70.2%)
CIE-LABlab(10.19, 20.49, -34.83)
CIE-LCHlch(10.19, 40.41, 300.47°)
OKLaboklab(23.42% 0.0068 -0.1006)
OKLCHoklch(23.42% 0.101 273.9)
XYZxyz(1.8037, 1.1505, 6.9631)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12144C #4C4A12
analogous
#12314C #12144C #2D124C
triadic
#12144C #4C1214 #144C12
tetradic
#12144C #4C1231 #4C4A12 #124C2D
square
#12144C #4C1231 #4C4A12 #124C2D
split-complementary
#12144C #4C2D12 #314C12
monochromatic
#060719 #06071B #12144C #1E217D #292EAF

Accessibility & contrast

On white

17.07
#12144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#12144C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12144C
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12144C#FFFFFF#000000##FFFFFF
##12144C1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12144c;
/* rgb */ color: rgb(18, 20, 76);
/* oklch */ color: oklch(23.4% 0.101 273.9);
Tailwind
colors: {
  custom: {
    50: '#5a517f',
    500: '#12144c',
    950: '#000000',
  },
}
SCSS
$custom: #12144c;
$custom-light: #5a517f;
$custom-dark: #000000;
JSON
{
  "hex": "#12144c",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 237.931,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23419,
    "c": 0.10084,
    "h": 273.9
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#12144C
secondary
#858235
accent
#DF43E5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12144C

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

Preview Lab → · Contrast checker → · Palette generator →

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