#121265#121265

#121265 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.138 H 271.4°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#121265
RGBrgb(18, 18, 101)
HSLhsl(240, 70%, 23%)
HSVhsv(240, 82%, 40%)
CMYKcmyk(82.2%, 82.2%, 0%, 60.4%)
CIE-LABlab(12.61, 31.35, -47.75)
CIE-LCHlch(12.61, 57.12, 303.29°)
OKLaboklab(26.01% 0.0035 -0.1382)
OKLCHoklch(26.01% 0.138 271.4)
XYZxyz(2.8139, 1.5005, 12.4507)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121265 #656512
analogous
#123B65 #121265 #3B1265
triadic
#121265 #651212 #126512
tetradic
#121265 #65123B #656512 #12653B
square
#121265 #65123B #656512 #12653B
split-complementary
#121265 #653B12 #3B6512
monochromatic
#05051A #090931 #121265 #1B1B99 #2525CD

Accessibility & contrast

On white

16.15
#121265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121265
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121265#FFFFFF#000000##FFFFFF
##1212651.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001C64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121265;
/* rgb */ color: rgb(18, 18, 101);
/* oklch */ color: oklch(26.0% 0.138 271.4);
Tailwind
colors: {
  custom: {
    50: '#615192',
    500: '#121265',
    950: '#000000',
  },
}
SCSS
$custom: #121265;
$custom-light: #615192;
$custom-dark: #000000;
JSON
{
  "hex": "#121265",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 240,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26012,
    "c": 0.13827,
    "h": 271.4
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#121265
secondary
#9D9D36
accent
#ED3BED
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121265

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

Preview Lab → · Contrast checker → · Palette generator →

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