#1C2C7B#1C2C7B

#1C2C7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.135 H 268.9°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1C2C7B
RGBrgb(28, 44, 123)
HSLhsl(230, 63%, 30%)
HSVhsv(230, 77%, 48%)
CMYKcmyk(77.2%, 64.2%, 0%, 51.8%)
CIE-LABlab(21.86, 23.56, -46.76)
CIE-LCHlch(21.86, 52.36, 296.74°)
OKLaboklab(33.56% -0.0026 -0.1351)
OKLCHoklch(33.56% 0.135 268.9)
XYZxyz(4.9535, 3.4778, 19.1453)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C7B #7B6B1C
analogous
#1C5C7B #1C2C7B #3C1C7B
triadic
#1C2C7B #7B1C2C #2C7B1C
tetradic
#1C2C7B #7B1C5C #7B6B1C #1C7B3C
square
#1C2C7B #7B1C5C #7B6B1C #1C7B3C
split-complementary
#1C2C7B #7B3C1C #5C7B1C
monochromatic
#060919 #111A49 #1C2C7B #273EAD #3E57D3

Accessibility & contrast

On white

12.38
#1C2C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C7B
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C7B#FFFFFF#000000##FFFFFF
##1C2C7B1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2c7b;
/* rgb */ color: rgb(28, 44, 123);
/* oklch */ color: oklch(33.6% 0.135 268.9);
Tailwind
colors: {
  custom: {
    50: '#6865a2',
    500: '#1c2c7b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c7b;
$custom-light: #6865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c7b",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 229.895,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.13514,
    "h": 268.9
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#1C2C7B
secondary
#AF9D44
accent
#CA42E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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