#1C2D70#1C2D70

#1C2D70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.118 H 268.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1C2D70
RGBrgb(28, 45, 112)
HSLhsl(228, 60%, 27%)
HSVhsv(228, 75%, 44%)
CMYKcmyk(75%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.18, 18.46, -40.84)
CIE-LCHlch(21.18, 44.82, 294.32°)
OKLaboklab(32.75% -0.0034 -0.1177)
OKLCHoklch(32.75% 0.118 268.3)
XYZxyz(4.3409, 3.2931, 15.7329)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D70 #705F1C
analogous
#1C5770 #1C2D70 #351C70
triadic
#1C2D70 #701C2D #2D701C
tetradic
#1C2D70 #701C57 #705F1C #1C7035
square
#1C2D70 #701C57 #705F1C #1C7035
split-complementary
#1C2D70 #70351C #57701C
monochromatic
#060A18 #10193F #1C2D70 #2841A1 #3957CD

Accessibility & contrast

On white

12.66
#1C2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C2D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D70
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D70#FFFFFF#000000##FFFFFF
##1C2D701.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2d70;
/* rgb */ color: rgb(28, 45, 112);
/* oklch */ color: oklch(32.8% 0.118 268.3);
Tailwind
colors: {
  custom: {
    50: '#65659a',
    500: '#1c2d70',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d70;
$custom-light: #65659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d70",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 227.857,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3275,
    "c": 0.11778,
    "h": 268.3
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#1C2D70
secondary
#A59143
accent
#C345E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1C2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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