#121C75#121C75

#121C75 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.149 H 268.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#121C75
RGBrgb(18, 28, 117)
HSLhsl(234, 73%, 26%)
HSVhsv(234, 85%, 46%)
CMYKcmyk(84.6%, 76.1%, 0%, 54.1%)
CIE-LABlab(16.71, 31.07, -51.41)
CIE-LCHlch(16.71, 60.07, 301.15°)
OKLaboklab(29.49% -0.0032 -0.149)
OKLCHoklch(29.49% 0.149 268.8)
XYZxyz(3.8745, 2.2430, 17.0549)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C75 #756B12
analogous
#124E75 #121C75 #3A1275
triadic
#121C75 #75121C #1C7512
tetradic
#121C75 #75124E #756B12 #12753A
square
#121C75 #75124E #756B12 #12753A
split-complementary
#121C75 #753A12 #4E7512
monochromatic
#04061B #0A0F40 #121C75 #1A29AA #2437DD

Accessibility & contrast

On white

14.50
#121C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#121C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C75
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C75#FFFFFF#000000##FFFFFF
##121C751.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #121c75;
/* rgb */ color: rgb(18, 28, 117);
/* oklch */ color: oklch(29.5% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#65599e',
    500: '#121c75',
    950: '#000000',
  },
}
SCSS
$custom: #121c75;
$custom-light: #65599e;
$custom-dark: #000000;
JSON
{
  "hex": "#121c75",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 233.939,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29486,
    "c": 0.14899,
    "h": 268.8
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#121C75
secondary
#ACA037
accent
#DD38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121C75

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

Preview Lab → · Contrast checker → · Palette generator →

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