#1C125D#1C125D

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

Color values

HEX#1C125D
RGBrgb(28, 18, 93)
HSLhsl(248, 68%, 22%)
HSVhsv(248, 81%, 36%)
CMYKcmyk(69.9%, 80.6%, 0%, 63.5%)
CIE-LABlab(12.41, 29.53, -42.72)
CIE-LCHlch(12.41, 51.93, 304.65°)
OKLaboklab(25.79% 0.0197 -0.1233)
OKLCHoklch(25.79% 0.125 279.1)
XYZxyz(2.6703, 1.4696, 10.4967)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C125D #535D12
analogous
#122E5D #1C125D #42125D
triadic
#1C125D #5D1C12 #125D1C
tetradic
#1C125D #5D122E #535D12 #125D42
square
#1C125D #5D122E #535D12 #125D42
split-complementary
#1C125D #5D4212 #2E5D12
monochromatic
#08051A #0D082A #1C125D #2B1C90 #3B26C4

Accessibility & contrast

On white

16.23
#1C125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1C125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C125D
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C125D#FFFFFF#000000##FFFFFF
##1C125D1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1c125d;
/* rgb */ color: rgb(28, 18, 93);
/* oklch */ color: oklch(25.8% 0.125 279.1);
Tailwind
colors: {
  custom: {
    50: '#63518c',
    500: '#1c125d',
    950: '#000000',
  },
}
SCSS
$custom: #1c125d;
$custom-light: #63518c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c125d",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 248,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25788,
    "c": 0.1249,
    "h": 279.1
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#1C125D
secondary
#899535
accent
#EA3DD3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C125D

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

Preview Lab → · Contrast checker → · Palette generator →

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