#121765#121765

#121765 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.133 H 270.6°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#121765
RGBrgb(18, 23, 101)
HSLhsl(236, 70%, 23%)
HSVhsv(236, 82%, 40%)
CMYKcmyk(82.2%, 77.2%, 0%, 60.4%)
CIE-LABlab(13.71, 28.24, -45.92)
CIE-LCHlch(13.71, 53.91, 301.58°)
OKLaboklab(26.79% 0.0013 -0.133)
OKLCHoklch(26.79% 0.133 270.6)
XYZxyz(2.9040, 1.6807, 12.4807)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121765 #656012
analogous
#124065 #121765 #361265
triadic
#121765 #651217 #176512
tetradic
#121765 #651240 #656012 #126536
square
#121765 #651240 #656012 #126536
split-complementary
#121765 #653612 #406512
monochromatic
#05061A #090B31 #121765 #1B2399 #252FCD

Accessibility & contrast

On white

15.72
#121765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121765
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121765#FFFFFF#000000##FFFFFF
##1217651.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121765;
/* rgb */ color: rgb(18, 23, 101);
/* oklch */ color: oklch(26.8% 0.133 270.6);
Tailwind
colors: {
  custom: {
    50: '#615592',
    500: '#121765',
    950: '#000000',
  },
}
SCSS
$custom: #121765;
$custom-light: #615592;
$custom-dark: #000000;
JSON
{
  "hex": "#121765",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 236.386,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26794,
    "c": 0.13299,
    "h": 270.6
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#121765
secondary
#9D9736
accent
#E23BED
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121765

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

Preview Lab → · Contrast checker → · Palette generator →

#121765 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva