#121B68#121B68

#121B68 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.133 H 269.5°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#121B68
RGBrgb(18, 27, 104)
HSLhsl(234, 70%, 24%)
HSVhsv(234, 83%, 41%)
CMYKcmyk(82.7%, 74%, 0%, 59.2%)
CIE-LABlab(15.02, 26.73, -45.75)
CIE-LCHlch(15.02, 52.99, 300.30°)
OKLaboklab(27.83% -0.001 -0.1325)
OKLCHoklch(27.83% 0.133 269.5)
XYZxyz(3.1392, 1.9116, 13.2975)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B68 #685F12
analogous
#124668 #121B68 #341268
triadic
#121B68 #68121B #1B6812
tetradic
#121B68 #681246 #685F12 #126834
square
#121B68 #681246 #685F12 #126834
split-complementary
#121B68 #683412 #466812
monochromatic
#05071A #090D34 #121B68 #1B299C #2436D0

Accessibility & contrast

On white

15.19
#121B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B68
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B68#FFFFFF#000000##FFFFFF
##121B681.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121b68;
/* rgb */ color: rgb(18, 27, 104);
/* oklch */ color: oklch(27.8% 0.133 269.5);
Tailwind
colors: {
  custom: {
    50: '#615794',
    500: '#121b68',
    950: '#000000',
  },
}
SCSS
$custom: #121b68;
$custom-light: #615794;
$custom-dark: #000000;
JSON
{
  "hex": "#121b68",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 233.721,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27831,
    "c": 0.1325,
    "h": 269.5
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#121B68
secondary
#A09536
accent
#DB3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121B68

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

Preview Lab → · Contrast checker → · Palette generator →

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