#12144E#12144E

#12144E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.104 H 273.6°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#12144E
RGBrgb(18, 20, 78)
HSLhsl(238, 63%, 19%)
HSVhsv(238, 77%, 31%)
CMYKcmyk(76.9%, 74.4%, 0%, 69.4%)
CIE-LABlab(10.40, 21.29, -35.86)
CIE-LCHlch(10.40, 41.71, 300.70°)
OKLaboklab(23.64% 0.0066 -0.1036)
OKLCHoklch(23.64% 0.104 273.6)
XYZxyz(1.8743, 1.1788, 7.3350)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12144E #4E4C12
analogous
#12324E #12144E #2E124E
triadic
#12144E #4E1214 #144E12
tetradic
#12144E #4E1232 #4E4C12 #124E2E
square
#12144E #4E1232 #4E4C12 #124E2E
split-complementary
#12144E #4E2E12 #324E12
monochromatic
#060619 #07071C #12144E #1D2180 #292EB1

Accessibility & contrast

On white

16.99
#12144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12144E
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12144E#FFFFFF#000000##FFFFFF
##12144E1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12144e;
/* rgb */ color: rgb(18, 20, 78);
/* oklch */ color: oklch(23.6% 0.104 273.6);
Tailwind
colors: {
  custom: {
    50: '#5a5180',
    500: '#12144e',
    950: '#000000',
  },
}
SCSS
$custom: #12144e;
$custom-light: #5a5180;
$custom-dark: #000000;
JSON
{
  "hex": "#12144e",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 238,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23638,
    "c": 0.10384,
    "h": 273.6
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#12144E
secondary
#878435
accent
#E042E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12144E

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

Preview Lab → · Contrast checker → · Palette generator →

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