#121A75#121A75

#121A75 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.151 H 269.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#121A75
RGBrgb(18, 26, 117)
HSLhsl(235, 73%, 26%)
HSVhsv(235, 85%, 46%)
CMYKcmyk(84.6%, 77.8%, 0%, 54.1%)
CIE-LABlab(16.26, 32.34, -52.15)
CIE-LCHlch(16.26, 61.37, 301.80°)
OKLaboklab(29.16% -0.0024 -0.1511)
OKLCHoklch(29.16% 0.151 269.1)
XYZxyz(3.8286, 2.1513, 17.0396)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A75 #756D12
analogous
#124C75 #121A75 #3C1275
triadic
#121A75 #75121A #1A7512
tetradic
#121A75 #75124C #756D12 #12753C
square
#121A75 #75124C #756D12 #12753C
split-complementary
#121A75 #753C12 #4C7512
monochromatic
#04061B #0A0E40 #121A75 #1A26AA #2433DD

Accessibility & contrast

On white

14.68
#121A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A75
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A75#FFFFFF#000000##FFFFFF
##121A751.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121a75;
/* rgb */ color: rgb(18, 26, 117);
/* oklch */ color: oklch(29.2% 0.151 269.1);
Tailwind
colors: {
  custom: {
    50: '#65579e',
    500: '#121a75',
    950: '#000000',
  },
}
SCSS
$custom: #121a75;
$custom-light: #65579e;
$custom-dark: #000000;
JSON
{
  "hex": "#121a75",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 235.152,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29163,
    "c": 0.15113,
    "h": 269.1
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#121A75
secondary
#ACA237
accent
#E138F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121A75

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

Preview Lab → · Contrast checker → · Palette generator →

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