#121D75#121D75

#121D75 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.148 H 268.6°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#121D75
RGBrgb(18, 29, 117)
HSLhsl(233, 73%, 26%)
HSVhsv(233, 85%, 46%)
CMYKcmyk(84.6%, 75.2%, 0%, 54.1%)
CIE-LABlab(16.95, 30.42, -51.02)
CIE-LCHlch(16.95, 59.40, 300.81°)
OKLaboklab(29.65% -0.0036 -0.1478)
OKLCHoklch(29.65% 0.148 268.6)
XYZxyz(3.8986, 2.2912, 17.0629)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D75 #756A12
analogous
#124F75 #121D75 #391275
triadic
#121D75 #75121D #1D7512
tetradic
#121D75 #75124F #756A12 #127539
square
#121D75 #75124F #756A12 #127539
split-complementary
#121D75 #753912 #4F7512
monochromatic
#04071B #0A1040 #121D75 #1A2AAA #2439DD

Accessibility & contrast

On white

14.40
#121D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#121D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D75
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D75#FFFFFF#000000##FFFFFF
##121D751.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #121d75;
/* rgb */ color: rgb(18, 29, 117);
/* oklch */ color: oklch(29.7% 0.148 268.6);
Tailwind
colors: {
  custom: {
    50: '#65599e',
    500: '#121d75',
    950: '#000000',
  },
}
SCSS
$custom: #121d75;
$custom-light: #65599e;
$custom-dark: #000000;
JSON
{
  "hex": "#121d75",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 233.333,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29653,
    "c": 0.14788,
    "h": 268.6
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#121D75
secondary
#AC9F37
accent
#DC38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121D75

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

Preview Lab → · Contrast checker → · Palette generator →

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