#121263#121263

#121263 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.136 H 271.6°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#121263
RGBrgb(18, 18, 99)
HSLhsl(240, 69%, 23%)
HSVhsv(240, 82%, 39%)
CMYKcmyk(81.8%, 81.8%, 0%, 61.2%)
CIE-LABlab(12.36, 30.63, -46.83)
CIE-LCHlch(12.36, 55.96, 303.19°)
OKLaboklab(25.77% 0.0039 -0.1356)
OKLCHoklch(25.77% 0.136 271.6)
XYZxyz(2.7171, 1.4618, 11.9409)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121263 #636312
analogous
#123A63 #121263 #3A1263
triadic
#121263 #631212 #126312
tetradic
#121263 #63123A #636312 #12633A
square
#121263 #63123A #636312 #12633A
split-complementary
#121263 #633A12 #3A6312
monochromatic
#05051A #09092F #121263 #1B1B97 #2525CB

Accessibility & contrast

On white

16.25
#121263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121263
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121263#FFFFFF#000000##FFFFFF
##1212631.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001C62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121263;
/* rgb */ color: rgb(18, 18, 99);
/* oklch */ color: oklch(25.8% 0.136 271.6);
Tailwind
colors: {
  custom: {
    50: '#615190',
    500: '#121263',
    950: '#000000',
  },
}
SCSS
$custom: #121263;
$custom-light: #615190;
$custom-dark: #000000;
JSON
{
  "hex": "#121263",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 240,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25765,
    "c": 0.13563,
    "h": 271.6
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#121263
secondary
#9B9B36
accent
#EC3CEC
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #121263

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

Preview Lab → · Contrast checker → · Palette generator →

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