#1C2C7D#1C2C7D

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

Color values

HEX#1C2C7D
RGBrgb(28, 44, 125)
HSLhsl(230, 63%, 30%)
HSVhsv(230, 78%, 49%)
CMYKcmyk(77.6%, 64.8%, 0%, 51%)
CIE-LABlab(22.05, 24.35, -47.73)
CIE-LCHlch(22.05, 53.58, 297.02°)
OKLaboklab(33.75% -0.0026 -0.138)
OKLCHoklch(33.75% 0.138 268.9)
XYZxyz(5.0800, 3.5284, 19.8114)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C7D #7D6D1C
analogous
#1C5D7D #1C2C7D #3C1C7D
triadic
#1C2C7D #7D1C2C #2C7D1C
tetradic
#1C2C7D #7D1C5D #7D6D1C #1C7D3C
square
#1C2C7D #7D1C5D #7D6D1C #1C7D3C
split-complementary
#1C2C7D #7D3C1C #5D7D1C
monochromatic
#060919 #111A4B #1C2C7D #273EAF #3F58D4

Accessibility & contrast

On white

12.31
#1C2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C7D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C7D#FFFFFF#000000##FFFFFF
##1C2C7D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2c7d;
/* rgb */ color: rgb(28, 44, 125);
/* oklch */ color: oklch(33.7% 0.138 268.9);
Tailwind
colors: {
  custom: {
    50: '#6865a3',
    500: '#1c2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c7d;
$custom-light: #6865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c7d",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 230.103,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.33749,
    "c": 0.13799,
    "h": 268.9
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#1C2C7D
secondary
#B19F44
accent
#CB41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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