#121D68#121D68

#121D68 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.130 H 269.1°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#121D68
RGBrgb(18, 29, 104)
HSLhsl(232, 70%, 24%)
HSVhsv(232, 83%, 41%)
CMYKcmyk(82.7%, 72.1%, 0%, 59.2%)
CIE-LABlab(15.52, 25.36, -44.92)
CIE-LCHlch(15.52, 51.59, 299.45°)
OKLaboklab(28.2% -0.0021 -0.1301)
OKLCHoklch(28.2% 0.13 269.1)
XYZxyz(3.1866, 2.0064, 13.3134)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D68 #685D12
analogous
#124868 #121D68 #321268
triadic
#121D68 #68121D #1D6812
tetradic
#121D68 #681248 #685D12 #126832
square
#121D68 #681248 #685D12 #126832
split-complementary
#121D68 #683212 #486812
monochromatic
#05071A #090E34 #121D68 #1B2C9C #243AD0

Accessibility & contrast

On white

14.99
#121D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121D68
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D68#FFFFFF#000000##FFFFFF
##121D681.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121d68;
/* rgb */ color: rgb(18, 29, 104);
/* oklch */ color: oklch(28.2% 0.130 269.1);
Tailwind
colors: {
  custom: {
    50: '#615994',
    500: '#121d68',
    950: '#000000',
  },
}
SCSS
$custom: #121d68;
$custom-light: #615994;
$custom-dark: #000000;
JSON
{
  "hex": "#121d68",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 232.326,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28196,
    "c": 0.13009,
    "h": 269.1
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#121D68
secondary
#A09236
accent
#D63BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121D68

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

Preview Lab → · Contrast checker → · Palette generator →

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