#1C126A#1C126A

#1C126A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.142 H 276.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#1C126A
RGBrgb(28, 18, 106)
HSLhsl(247, 71%, 24%)
HSVhsv(247, 83%, 42%)
CMYKcmyk(73.6%, 83%, 0%, 58.4%)
CIE-LABlab(13.94, 33.99, -48.82)
CIE-LCHlch(13.94, 59.48, 304.85°)
OKLaboklab(27.31% 0.016 -0.1411)
OKLCHoklch(27.31% 0.142 276.5)
XYZxyz(3.2959, 1.7198, 13.7911)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C126A #606A12
analogous
#12346A #1C126A #48126A
triadic
#1C126A #6A1C12 #126A1C
tetradic
#1C126A #6A1234 #606A12 #126A48
square
#1C126A #6A1234 #606A12 #126A48
split-complementary
#1C126A #6A4812 #346A12
monochromatic
#07041A #0E0936 #1C126A #2A1B9E #3824D3

Accessibility & contrast

On white

15.62
#1C126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1C126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C126A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C126A#FFFFFF#000000##FFFFFF
##1C126A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c126a;
/* rgb */ color: rgb(28, 18, 106);
/* oklch */ color: oklch(27.3% 0.142 276.5);
Tailwind
colors: {
  custom: {
    50: '#665296',
    500: '#1c126a',
    950: '#000000',
  },
}
SCSS
$custom: #1c126a;
$custom-light: #665296;
$custom-dark: #000000;
JSON
{
  "hex": "#1c126a",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 246.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27313,
    "c": 0.14201,
    "h": 276.5
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#1C126A
secondary
#95A236
accent
#EE3AD9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1C126A

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

Preview Lab → · Contrast checker → · Palette generator →

#1C126A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva