#121A58#121A58

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

Color values

HEX#121A58
RGBrgb(18, 26, 88)
HSLhsl(233, 66%, 21%)
HSVhsv(233, 80%, 35%)
CMYKcmyk(79.5%, 70.5%, 0%, 65.5%)
CIE-LABlab(13.06, 21.03, -38.32)
CIE-LCHlch(13.06, 43.71, 298.75°)
OKLaboklab(25.89% 0.0011 -0.1108)
OKLCHoklch(25.89% 0.111 270.6)
XYZxyz(2.3797, 1.5717, 9.4086)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A58 #585012
analogous
#123D58 #121A58 #2D1258
triadic
#121A58 #58121A #1A5812
tetradic
#121A58 #58123D #585012 #12582D
square
#121A58 #58123D #585012 #12582D
split-complementary
#121A58 #582D12 #3D5812
monochromatic
#050819 #080B25 #121A58 #1C298B #2738BE

Accessibility & contrast

On white

15.98
#121A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A58
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A58#FFFFFF#000000##FFFFFF
##121A581.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121a58;
/* rgb */ color: rgb(18, 26, 88);
/* oklch */ color: oklch(25.9% 0.111 270.6);
Tailwind
colors: {
  custom: {
    50: '#5c5688',
    500: '#121a58',
    950: '#000000',
  },
}
SCSS
$custom: #121a58;
$custom-light: #5c5688;
$custom-dark: #000000;
JSON
{
  "hex": "#121a58",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 233.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25892,
    "c": 0.11081,
    "h": 270.6
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#121A58
secondary
#918635
accent
#D63FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #121A58

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

Preview Lab → · Contrast checker → · Palette generator →

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