#121C45#121C45

#121C45 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.078 H 269.5°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#121C45
RGBrgb(18, 28, 69)
HSLhsl(228, 59%, 17%)
HSVhsv(228, 74%, 27%)
CMYKcmyk(73.9%, 59.4%, 0%, 72.9%)
CIE-LABlab(11.88, 11.56, -27.20)
CIE-LCHlch(11.88, 29.56, 293.02°)
OKLaboklab(24.47% -0.0007 -0.0781)
OKLCHoklch(24.47% 0.078 269.5)
XYZxyz(1.7385, 1.3886, 5.8055)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C45 #453B12
analogous
#123645 #121C45 #221245
triadic
#121C45 #45121C #1C4512
tetradic
#121C45 #451236 #453B12 #124522
square
#121C45 #451236 #453B12 #124522
split-complementary
#121C45 #452212 #364512
monochromatic
#060A18 #060A18 #121C45 #1F3076 #2B43A6

Accessibility & contrast

On white

16.43
#121C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C45
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C45#FFFFFF#000000##FFFFFF
##121C451.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032246
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121c45;
/* rgb */ color: rgb(18, 28, 69);
/* oklch */ color: oklch(24.5% 0.078 269.5);
Tailwind
colors: {
  custom: {
    50: '#575779',
    500: '#121c45',
    950: '#000000',
  },
}
SCSS
$custom: #121c45;
$custom-light: #575779;
$custom-dark: #000000;
JSON
{
  "hex": "#121c45",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 228.235,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24469,
    "c": 0.07813,
    "h": 269.5
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#121C45
secondary
#7E7035
accent
#C346E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121C45

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

Preview Lab → · Contrast checker → · Palette generator →

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