#121A45#121A45

#121A45 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.081 H 271.0°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#121A45
RGBrgb(18, 26, 69)
HSLhsl(231, 59%, 17%)
HSVhsv(231, 74%, 27%)
CMYKcmyk(73.9%, 62.3%, 0%, 72.9%)
CIE-LABlab(11.25, 13.10, -28.22)
CIE-LCHlch(11.25, 31.11, 294.90°)
OKLaboklab(24% 0.0015 -0.0811)
OKLCHoklch(24% 0.081 271)
XYZxyz(1.6927, 1.2969, 5.7902)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A45 #453D12
analogous
#123445 #121A45 #241245
triadic
#121A45 #45121A #1A4512
tetradic
#121A45 #451234 #453D12 #124524
square
#121A45 #451234 #453D12 #124524
split-complementary
#121A45 #452412 #344512
monochromatic
#060918 #060918 #121A45 #1F2C76 #2B3FA6

Accessibility & contrast

On white

16.67
#121A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#121A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A45
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A45#FFFFFF#000000##FFFFFF
##121A451.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #121a45;
/* rgb */ color: rgb(18, 26, 69);
/* oklch */ color: oklch(24.0% 0.081 271.0);
Tailwind
colors: {
  custom: {
    50: '#575679',
    500: '#121a45',
    950: '#000000',
  },
}
SCSS
$custom: #121a45;
$custom-light: #575679;
$custom-dark: #000000;
JSON
{
  "hex": "#121a45",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 230.588,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23997,
    "c": 0.08116,
    "h": 271
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#121A45
secondary
#7E7335
accent
#C946E2
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121A45

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

Preview Lab → · Contrast checker → · Palette generator →

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