#1C2E7D#1C2E7D

#1C2E7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.135 H 268.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1C2E7D
RGBrgb(28, 46, 125)
HSLhsl(229, 63%, 30%)
HSVhsv(229, 78%, 49%)
CMYKcmyk(77.6%, 63.2%, 0%, 51%)
CIE-LABlab(22.59, 22.95, -46.85)
CIE-LCHlch(22.59, 52.17, 296.10°)
OKLaboklab(34.15% -0.004 -0.1353)
OKLCHoklch(34.15% 0.135 268.3)
XYZxyz(5.1563, 3.6810, 19.8368)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E7D #7D6B1C
analogous
#1C5F7D #1C2E7D #3A1C7D
triadic
#1C2E7D #7D1C2E #2E7D1C
tetradic
#1C2E7D #7D1C5F #7D6B1C #1C7D3A
square
#1C2E7D #7D1C5F #7D6B1C #1C7D3A
split-complementary
#1C2E7D #7D3A1C #5F7D1C
monochromatic
#060919 #111C4B #1C2E7D #2740AF #3F5BD4

Accessibility & contrast

On white

12.09
#1C2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2E7D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2E7D#FFFFFF#000000##FFFFFF
##1C2E7D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2e7d;
/* rgb */ color: rgb(28, 46, 125);
/* oklch */ color: oklch(34.2% 0.135 268.3);
Tailwind
colors: {
  custom: {
    50: '#6866a3',
    500: '#1c2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e7d;
$custom-light: #6866a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e7d",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 228.866,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.3415,
    "c": 0.13541,
    "h": 268.3
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#1C2E7D
secondary
#B19D44
accent
#C841E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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