#121F65#121F65

#121F65 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.123 H 268.6°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#121F65
RGBrgb(18, 31, 101)
HSLhsl(231, 70%, 23%)
HSVhsv(231, 82%, 40%)
CMYKcmyk(82.2%, 69.3%, 0%, 60.4%)
CIE-LABlab(15.74, 22.74, -42.59)
CIE-LCHlch(15.74, 48.29, 298.10°)
OKLaboklab(28.26% -0.0031 -0.1233)
OKLCHoklch(28.26% 0.123 268.6)
XYZxyz(3.0876, 2.0478, 12.5419)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121F65 #655812
analogous
#124865 #121F65 #2E1265
triadic
#121F65 #65121F #1F6512
tetradic
#121F65 #651248 #655812 #12652E
square
#121F65 #651248 #655812 #12652E
split-complementary
#121F65 #652E12 #486512
monochromatic
#05081A #090F31 #121F65 #1B2F99 #253FCD

Accessibility & contrast

On white

14.90
#121F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#121F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121F65
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121F65#FFFFFF#000000##FFFFFF
##121F651.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121f65;
/* rgb */ color: rgb(18, 31, 101);
/* oklch */ color: oklch(28.3% 0.123 268.6);
Tailwind
colors: {
  custom: {
    50: '#605a92',
    500: '#121f65',
    950: '#000000',
  },
}
SCSS
$custom: #121f65;
$custom-light: #605a92;
$custom-dark: #000000;
JSON
{
  "hex": "#121f65",
  "rgb": {
    "r": 18,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 230.602,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.1233,
    "h": 268.6
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#121F65
secondary
#9D8D36
accent
#D13BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #121F65

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

Preview Lab → · Contrast checker → · Palette generator →

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