#1C126E#1C126E

#1C126E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.147 H 275.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#1C126E
RGBrgb(28, 18, 110)
HSLhsl(247, 72%, 25%)
HSVhsv(247, 84%, 43%)
CMYKcmyk(74.5%, 83.6%, 0%, 56.9%)
CIE-LABlab(14.43, 35.33, -50.63)
CIE-LCHlch(14.43, 61.74, 304.91°)
OKLaboklab(27.79% 0.0149 -0.1464)
OKLCHoklch(27.79% 0.147 275.8)
XYZxyz(3.5087, 1.8049, 14.9123)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C126E #646E12
analogous
#12366E #1C126E #4A126E
triadic
#1C126E #6E1C12 #126E1C
tetradic
#1C126E #6E1236 #646E12 #126E4A
square
#1C126E #6E1236 #646E12 #126E4A
split-complementary
#1C126E #6E4A12 #366E12
monochromatic
#07041A #0F0939 #1C126E #291BA3 #3723D7

Accessibility & contrast

On white

15.43
#1C126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1C126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C126E
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C126E#FFFFFF#000000##FFFFFF
##1C126E1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1c126e;
/* rgb */ color: rgb(28, 18, 110);
/* oklch */ color: oklch(27.8% 0.147 275.8);
Tailwind
colors: {
  custom: {
    50: '#675399',
    500: '#1c126e',
    950: '#000000',
  },
}
SCSS
$custom: #1c126e;
$custom-light: #675399;
$custom-dark: #000000;
JSON
{
  "hex": "#1c126e",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 246.522,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27794,
    "c": 0.14713,
    "h": 275.8
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#1C126E
secondary
#99A537
accent
#EF39DB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C126E

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

Preview Lab → · Contrast checker → · Palette generator →

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