#1C125E#1C125E

#1C125E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.126 H 278.8°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#1C125E
RGBrgb(28, 18, 94)
HSLhsl(248, 68%, 22%)
HSVhsv(248, 81%, 37%)
CMYKcmyk(70.2%, 80.9%, 0%, 63.1%)
CIE-LABlab(12.53, 29.88, -43.20)
CIE-LCHlch(12.53, 52.52, 304.67°)
OKLaboklab(25.9% 0.0194 -0.1247)
OKLCHoklch(25.9% 0.126 278.8)
XYZxyz(2.7149, 1.4874, 10.7315)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C125E #545E12
analogous
#122E5E #1C125E #42125E
triadic
#1C125E #5E1C12 #125E1C
tetradic
#1C125E #5E122E #545E12 #125E42
square
#1C125E #5E122E #545E12 #125E42
split-complementary
#1C125E #5E4212 #2E5E12
monochromatic
#08051A #0D082B #1C125E #2B1C91 #3B26C5

Accessibility & contrast

On white

16.18
#1C125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1C125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C125E
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C125E#FFFFFF#000000##FFFFFF
##1C125E1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c125e;
/* rgb */ color: rgb(28, 18, 94);
/* oklch */ color: oklch(25.9% 0.126 278.8);
Tailwind
colors: {
  custom: {
    50: '#63528d',
    500: '#1c125e',
    950: '#000000',
  },
}
SCSS
$custom: #1c125e;
$custom-light: #63528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c125e",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 247.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25903,
    "c": 0.12624,
    "h": 278.8
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#1C125E
secondary
#8A9635
accent
#EB3DD4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C125E

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

Preview Lab → · Contrast checker → · Palette generator →

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