#121A57#121A57

#121A57 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.109 H 270.6°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#121A57
RGBrgb(18, 26, 87)
HSLhsl(233, 66%, 21%)
HSVhsv(233, 79%, 34%)
CMYKcmyk(79.3%, 70.1%, 0%, 65.9%)
CIE-LABlab(12.96, 20.62, -37.81)
CIE-LCHlch(12.96, 43.07, 298.60°)
OKLaboklab(25.79% 0.0012 -0.1093)
OKLCHoklch(25.79% 0.109 270.6)
XYZxyz(2.3386, 1.5553, 9.1919)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A57 #574F12
analogous
#123C57 #121A57 #2C1257
triadic
#121A57 #57121A #1A5712
tetradic
#121A57 #57123C #574F12 #12572C
square
#121A57 #57123C #574F12 #12572C
split-complementary
#121A57 #572C12 #3C5712
monochromatic
#050819 #080B24 #121A57 #1C298A #2738BC

Accessibility & contrast

On white

16.02
#121A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A57
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A57#FFFFFF#000000##FFFFFF
##121A571.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121a57;
/* rgb */ color: rgb(18, 26, 87);
/* oklch */ color: oklch(25.8% 0.109 270.6);
Tailwind
colors: {
  custom: {
    50: '#5c5687',
    500: '#121a57',
    950: '#000000',
  },
}
SCSS
$custom: #121a57;
$custom-light: #5c5687;
$custom-dark: #000000;
JSON
{
  "hex": "#121a57",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 233.043,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25786,
    "c": 0.10932,
    "h": 270.6
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#121A57
secondary
#908535
accent
#D53FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #121A57

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

Preview Lab → · Contrast checker → · Palette generator →

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