#121A60#121A60

#121A60 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.122 H 270.2°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#121A60
RGBrgb(18, 26, 96)
HSLhsl(234, 68%, 22%)
HSVhsv(234, 81%, 38%)
CMYKcmyk(81.3%, 72.9%, 0%, 62.4%)
CIE-LABlab(13.89, 24.26, -42.31)
CIE-LCHlch(13.89, 48.77, 299.83°)
OKLaboklab(26.76% 0.0004 -0.1224)
OKLCHoklch(26.76% 0.122 270.2)
XYZxyz(2.7294, 1.7116, 11.2506)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A60 #605812
analogous
#124160 #121A60 #311260
triadic
#121A60 #60121A #1A6012
tetradic
#121A60 #601241 #605812 #126031
square
#121A60 #601241 #605812 #126031
split-complementary
#121A60 #603112 #416012
monochromatic
#05071A #080C2C #121A60 #1C2894 #2536C7

Accessibility & contrast

On white

15.64
#121A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A60
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A60#FFFFFF#000000##FFFFFF
##121A601.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121a60;
/* rgb */ color: rgb(18, 26, 96);
/* oklch */ color: oklch(26.8% 0.122 270.2);
Tailwind
colors: {
  custom: {
    50: '#5f568e',
    500: '#121a60',
    950: '#000000',
  },
}
SCSS
$custom: #121a60;
$custom-light: #5f568e;
$custom-dark: #000000;
JSON
{
  "hex": "#121a60",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 233.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26757,
    "c": 0.12245,
    "h": 270.2
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#121A60
secondary
#988E36
accent
#D93DEB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #121A60

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

Preview Lab → · Contrast checker → · Palette generator →

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