#1C2240#1C2240

#1C2240 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.3% C 0.057 H 273.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#1C2240
RGBrgb(28, 34, 64)
HSLhsl(230, 39%, 18%)
HSVhsv(230, 56%, 25%)
CMYKcmyk(56.2%, 46.9%, 0%, 74.9%)
CIE-LABlab(14.18, 7.40, -19.99)
CIE-LCHlch(14.18, 21.32, 290.31°)
OKLaboklab(26.29% 0.0033 -0.0566)
OKLCHoklch(26.29% 0.057 273.4)
XYZxyz(1.9760, 1.7610, 5.0853)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2240 #403A1C
analogous
#1C3440 #1C2240 #281C40
triadic
#1C2240 #401C22 #22401C
tetradic
#1C2240 #401C34 #403A1C #1C4028
square
#1C2240 #401C34 #403A1C #1C4028
split-complementary
#1C2240 #40281C #34401C
monochromatic
#090B15 #090B15 #1C2240 #2F396B #414F95

Accessibility & contrast

On white

15.53
#1C2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1C2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2240
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2240#FFFFFF#000000##FFFFFF
##1C22401.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#13233F
Tritanopia (blue-blind)
#0D282D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1c2240;
/* rgb */ color: rgb(28, 34, 64);
/* oklch */ color: oklch(26.3% 0.057 273.4);
Tailwind
colors: {
  custom: {
    50: '#5b5c75',
    500: '#1c2240',
    950: '#000000',
  },
}
SCSS
$custom: #1c2240;
$custom-light: #5b5c75;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2240",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 230,
    "s": 39.13,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2629,
    "c": 0.0567,
    "h": 273.4
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#1C2240
secondary
#756D43
accent
#BB59CF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #1C2240

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

Preview Lab → · Contrast checker → · Palette generator →

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