#121275#121275

#121275 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.159 H 270.0°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#121275
RGBrgb(18, 18, 117)
HSLhsl(240, 73%, 26%)
HSVhsv(240, 85%, 46%)
CMYKcmyk(84.6%, 84.6%, 0%, 54.1%)
CIE-LABlab(14.65, 36.96, -54.82)
CIE-LCHlch(14.65, 66.12, 303.99°)
OKLaboklab(28.03% -0.0001 -0.1587)
OKLCHoklch(28.03% 0.159 270)
XYZxyz(3.6756, 1.8451, 16.9886)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121275 #757512
analogous
#124475 #121275 #441275
triadic
#121275 #751212 #127512
tetradic
#121275 #751244 #757512 #127544
square
#121275 #751244 #757512 #127544
split-complementary
#121275 #754412 #447512
monochromatic
#04041B #0A0A40 #121275 #1A1AAA #2424DD

Accessibility & contrast

On white

15.34
#121275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#121275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121275
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121275#FFFFFF#000000##FFFFFF
##1212751.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002073
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121275;
/* rgb */ color: rgb(18, 18, 117);
/* oklch */ color: oklch(28.0% 0.159 270.0);
Tailwind
colors: {
  custom: {
    50: '#66539e',
    500: '#121275',
    950: '#000000',
  },
}
SCSS
$custom: #121275;
$custom-light: #66539e;
$custom-dark: #000000;
JSON
{
  "hex": "#121275",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 240,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28031,
    "c": 0.15873,
    "h": 270
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#121275
secondary
#ACAC37
accent
#F038F0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #121275

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

Preview Lab → · Contrast checker → · Palette generator →

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