#1C124F#1C124F

#1C124F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.2% C 0.105 H 282.6°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#1C124F
RGBrgb(28, 18, 79)
HSLhsl(250, 63%, 19%)
HSVhsv(250, 77%, 31%)
CMYKcmyk(64.6%, 77.2%, 0%, 69%)
CIE-LABlab(10.88, 24.58, -35.73)
CIE-LCHlch(10.88, 43.37, 304.53°)
OKLaboklab(24.24% 0.0231 -0.1029)
OKLCHoklch(24.24% 0.105 282.6)
XYZxyz(2.1060, 1.2439, 7.5247)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C124F #454F12
analogous
#12274F #1C124F #3B124F
triadic
#1C124F #4F1C12 #124F1C
tetradic
#1C124F #4F1227 #454F12 #124F3B
square
#1C124F #4F1227 #454F12 #124F3B
split-complementary
#1C124F #4F3B12 #274F12
monochromatic
#090619 #0A071D #1C124F #2E1D81 #3F29B3

Accessibility & contrast

On white

16.82
#1C124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1C124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C124F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C124F#FFFFFF#000000##FFFFFF
##1C124F1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c124f;
/* rgb */ color: rgb(28, 18, 79);
/* oklch */ color: oklch(24.2% 0.105 282.6);
Tailwind
colors: {
  custom: {
    50: '#5f5181',
    500: '#1c124f',
    950: '#000000',
  },
}
SCSS
$custom: #1c124f;
$custom-light: #5f5181;
$custom-dark: #000000;
JSON
{
  "hex": "#1c124f",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 249.836,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24235,
    "c": 0.10549,
    "h": 282.6
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#1C124F
secondary
#7A8835
accent
#E642CB
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C124F

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

Preview Lab → · Contrast checker → · Palette generator →

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