#121F69#121F69

#121F69 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.129 H 268.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#121F69
RGBrgb(18, 31, 105)
HSLhsl(231, 71%, 24%)
HSVhsv(231, 83%, 41%)
CMYKcmyk(82.9%, 70.5%, 0%, 58.8%)
CIE-LABlab(16.15, 24.37, -44.55)
CIE-LCHlch(16.15, 50.78, 298.68°)
OKLaboklab(28.68% -0.0033 -0.129)
OKLCHoklch(28.68% 0.129 268.5)
XYZxyz(3.2884, 2.1281, 13.5993)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F69 #695C12
analogous
#124B69 #121F69 #301269
triadic
#121F69 #69121F #1F6912
tetradic
#121F69 #69124B #695C12 #126930
square
#121F69 #69124B #695C12 #126930
split-complementary
#121F69 #693012 #4B6912
monochromatic
#04081A #091035 #121F69 #1B2E9D #243ED1

Accessibility & contrast

On white

14.73
#121F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#121F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F69
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F69#FFFFFF#000000##FFFFFF
##121F691.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121f69;
/* rgb */ color: rgb(18, 31, 105);
/* oklch */ color: oklch(28.7% 0.129 268.5);
Tailwind
colors: {
  custom: {
    50: '#615a95',
    500: '#121f69',
    950: '#000000',
  },
}
SCSS
$custom: #121f69;
$custom-light: #615a95;
$custom-dark: #000000;
JSON
{
  "hex": "#121f69",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 105
  },
  "hsl": {
    "h": 231.034,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28683,
    "c": 0.12902,
    "h": 268.5
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#121F69
secondary
#A19136
accent
#D33AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #121F69

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

Preview Lab → · Contrast checker → · Palette generator →

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