#121A6F#121A6F

#121A6F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.143 H 269.4°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#121A6F
RGBrgb(18, 26, 111)
HSLhsl(235, 72%, 25%)
HSVhsv(235, 84%, 44%)
CMYKcmyk(83.8%, 76.6%, 0%, 56.5%)
CIE-LABlab(15.56, 30.09, -49.42)
CIE-LCHlch(15.56, 57.86, 301.33°)
OKLaboklab(28.46% -0.0015 -0.1432)
OKLCHoklch(28.46% 0.143 269.4)
XYZxyz(3.4871, 2.0147, 15.2409)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A6F #6F6712
analogous
#12486F #121A6F #39126F
triadic
#121A6F #6F121A #1A6F12
tetradic
#121A6F #6F1248 #6F6712 #126F39
square
#121A6F #6F1248 #6F6712 #126F39
split-complementary
#121A6F #6F3912 #486F12
monochromatic
#04061A #090E3A #121A6F #1B26A4 #2333D8

Accessibility & contrast

On white

14.97
#121A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#121A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A6F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A6F#FFFFFF#000000##FFFFFF
##121A6F1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121a6f;
/* rgb */ color: rgb(18, 26, 111);
/* oklch */ color: oklch(28.5% 0.143 269.4);
Tailwind
colors: {
  custom: {
    50: '#635799',
    500: '#121a6f',
    950: '#000000',
  },
}
SCSS
$custom: #121a6f;
$custom-light: #635799;
$custom-dark: #000000;
JSON
{
  "hex": "#121a6f",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 234.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28459,
    "c": 0.14319,
    "h": 269.4
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#121A6F
secondary
#A69D37
accent
#DF39EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #121A6F

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

Preview Lab → · Contrast checker → · Palette generator →

#121A6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva