#121C67#121C67

#121C67 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.130 H 269.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#121C67
RGBrgb(18, 28, 103)
HSLhsl(233, 70%, 24%)
HSVhsv(233, 83%, 40%)
CMYKcmyk(82.5%, 72.8%, 0%, 59.6%)
CIE-LABlab(15.16, 25.65, -44.86)
CIE-LCHlch(15.16, 51.68, 299.76°)
OKLaboklab(27.9% -0.0015 -0.1299)
OKLCHoklch(27.9% 0.13 269.4)
XYZxyz(3.1120, 1.9380, 13.0394)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C67 #675D12
analogous
#124667 #121C67 #321267
triadic
#121C67 #67121C #1C6712
tetradic
#121C67 #671246 #675D12 #126732
square
#121C67 #671246 #675D12 #126732
split-complementary
#121C67 #673212 #466712
monochromatic
#05071A #090E33 #121C67 #1B2A9B #2438CF

Accessibility & contrast

On white

15.13
#121C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#121C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C67
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C67#FFFFFF#000000##FFFFFF
##121C671.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121c67;
/* rgb */ color: rgb(18, 28, 103);
/* oklch */ color: oklch(27.9% 0.130 269.4);
Tailwind
colors: {
  custom: {
    50: '#615893',
    500: '#121c67',
    950: '#000000',
  },
}
SCSS
$custom: #121c67;
$custom-light: #615893;
$custom-dark: #000000;
JSON
{
  "hex": "#121c67",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 232.941,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27901,
    "c": 0.1299,
    "h": 269.4
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#121C67
secondary
#9F9236
accent
#D83BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121C67

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

Preview Lab → · Contrast checker → · Palette generator →

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