#12144B#12144B

#12144B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.099 H 274.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#12144B
RGBrgb(18, 20, 75)
HSLhsl(238, 61%, 18%)
HSVhsv(238, 76%, 29%)
CMYKcmyk(76%, 73.3%, 0%, 70.6%)
CIE-LABlab(10.08, 20.09, -34.31)
CIE-LCHlch(10.08, 39.76, 300.35°)
OKLaboklab(23.31% 0.0069 -0.0991)
OKLCHoklch(23.31% 0.099 274)
XYZxyz(1.7692, 1.1367, 6.7814)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12144B #4B4912
analogous
#12304B #12144B #2C124B
triadic
#12144B #4B1214 #144B12
tetradic
#12144B #4B1230 #4B4912 #124B2C
square
#12144B #4B1230 #4B4912 #124B2C
split-complementary
#12144B #4B2C12 #304B12
monochromatic
#060719 #06071A #12144B #1E217C #2A2EAE

Accessibility & contrast

On white

17.11
#12144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12144B
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12144B#FFFFFF#000000##FFFFFF
##12144B1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12144b;
/* rgb */ color: rgb(18, 20, 75);
/* oklch */ color: oklch(23.3% 0.099 274.0);
Tailwind
colors: {
  custom: {
    50: '#59517e',
    500: '#12144b',
    950: '#000000',
  },
}
SCSS
$custom: #12144b;
$custom-light: #59517e;
$custom-dark: #000000;
JSON
{
  "hex": "#12144b",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 237.895,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2331,
    "c": 0.09932,
    "h": 274
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#12144B
secondary
#848135
accent
#DF43E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12144B

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

Preview Lab → · Contrast checker → · Palette generator →

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