#1C125F#1C125F

#1C125F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.128 H 278.6°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#1C125F
RGBrgb(28, 18, 95)
HSLhsl(248, 68%, 22%)
HSVhsv(248, 81%, 37%)
CMYKcmyk(70.5%, 81.1%, 0%, 62.7%)
CIE-LABlab(12.64, 30.22, -43.68)
CIE-LCHlch(12.64, 53.11, 304.68°)
OKLaboklab(26.02% 0.0191 -0.1261)
OKLCHoklch(26.02% 0.128 278.6)
XYZxyz(2.7601, 1.5055, 10.9694)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C125F #555F12
analogous
#122F5F #1C125F #43125F
triadic
#1C125F #5F1C12 #125F1C
tetradic
#1C125F #5F122F #555F12 #125F43
square
#1C125F #5F122F #555F12 #125F43
split-complementary
#1C125F #5F4312 #2F5F12
monochromatic
#08051A #0D082C #1C125F #2B1C92 #3A25C6

Accessibility & contrast

On white

16.14
#1C125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C125F
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C125F#FFFFFF#000000##FFFFFF
##1C125F1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1c125f;
/* rgb */ color: rgb(28, 18, 95);
/* oklch */ color: oklch(26.0% 0.128 278.6);
Tailwind
colors: {
  custom: {
    50: '#63528d',
    500: '#1c125f',
    950: '#000000',
  },
}
SCSS
$custom: #1c125f;
$custom-light: #63528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c125f",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 247.792,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26019,
    "c": 0.12758,
    "h": 278.6
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C125F

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

Preview Lab → · Contrast checker → · Palette generator →

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