#120A43#120A43

#120A43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.100 H 279.3°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#120A43
RGBrgb(18, 10, 67)
HSLhsl(248, 74%, 15%)
HSVhsv(248, 85%, 26%)
CMYKcmyk(73.1%, 85.1%, 0%, 73.7%)
CIE-LABlab(6.78, 23.51, -34.12)
CIE-LCHlch(6.78, 41.43, 304.57°)
OKLaboklab(20.63% 0.0162 -0.0988)
OKLCHoklch(20.63% 0.1 279.3)
XYZxyz(1.3708, 0.7508, 5.3818)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A43 #3B430A
analogous
#0A1E43 #120A43 #2E0A43
triadic
#120A43 #43120A #0A4312
tetradic
#120A43 #430A1E #3B430A #0A432E
square
#120A43 #430A1E #3B430A #0A432E
split-complementary
#120A43 #432E0A #1E430A
monochromatic
#07041B #07041B #120A43 #201278 #2F1AAE

Accessibility & contrast

On white

18.26
#120A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#120A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120A43
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A43#FFFFFF#000000##FFFFFF
##120A431.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #120a43;
/* rgb */ color: rgb(18, 10, 67);
/* oklch */ color: oklch(20.6% 0.100 279.3);
Tailwind
colors: {
  custom: {
    50: '#584a78',
    500: '#120a43',
    950: '#000000',
  },
}
SCSS
$custom: #120a43;
$custom-light: #584a78;
$custom-dark: #000000;
JSON
{
  "hex": "#120a43",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 248.421,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20627,
    "c": 0.10017,
    "h": 279.3
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#120A43
secondary
#748029
accent
#F137D7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120A43

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

Preview Lab → · Contrast checker → · Palette generator →

#120A43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva