#12144F#12144F

#12144F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.105 H 273.5°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#12144F
RGBrgb(18, 20, 79)
HSLhsl(238, 63%, 19%)
HSVhsv(238, 77%, 31%)
CMYKcmyk(77.2%, 74.7%, 0%, 69%)
CIE-LABlab(10.51, 21.69, -36.37)
CIE-LCHlch(10.51, 42.35, 300.81°)
OKLaboklab(23.75% 0.0064 -0.1051)
OKLCHoklch(23.75% 0.105 273.5)
XYZxyz(1.9104, 1.1932, 7.5253)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12144F #4F4D12
analogous
#12334F #12144F #2F124F
triadic
#12144F #4F1214 #144F12
tetradic
#12144F #4F1233 #4F4D12 #124F2F
square
#12144F #4F1233 #4F4D12 #124F2F
split-complementary
#12144F #4F2F12 #334F12
monochromatic
#060619 #07071D #12144F #1D2181 #292DB3

Accessibility & contrast

On white

16.95
#12144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#12144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12144F
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12144F#FFFFFF#000000##FFFFFF
##12144F1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12144f;
/* rgb */ color: rgb(18, 20, 79);
/* oklch */ color: oklch(23.7% 0.105 273.5);
Tailwind
colors: {
  custom: {
    50: '#5b5181',
    500: '#12144f',
    950: '#000000',
  },
}
SCSS
$custom: #12144f;
$custom-light: #5b5181;
$custom-dark: #000000;
JSON
{
  "hex": "#12144f",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 238.033,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23748,
    "c": 0.10533,
    "h": 273.5
  },
  "luminance": 0.01193
}

Semantic roles & 50–950 ramp

primary
#12144F
secondary
#888535
accent
#E142E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12144F

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

Preview Lab → · Contrast checker → · Palette generator →

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