#1C2B7D#1C2B7D

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

Color values

HEX#1C2B7D
RGBrgb(28, 43, 125)
HSLhsl(231, 63%, 30%)
HSVhsv(231, 78%, 49%)
CMYKcmyk(77.6%, 65.6%, 0%, 51%)
CIE-LABlab(21.78, 25.04, -48.17)
CIE-LCHlch(21.78, 54.29, 297.47°)
OKLaboklab(33.55% -0.0019 -0.1393)
OKLCHoklch(33.55% 0.139 269.2)
XYZxyz(5.0432, 3.4548, 19.7991)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B7D #7D6E1C
analogous
#1C5B7D #1C2B7D #3E1C7D
triadic
#1C2B7D #7D1C2B #2B7D1C
tetradic
#1C2B7D #7D1C5B #7D6E1C #1C7D3E
square
#1C2B7D #7D1C5B #7D6E1C #1C7D3E
split-complementary
#1C2B7D #7D3E1C #5B7D1C
monochromatic
#060919 #111A4B #1C2B7D #273CAF #3F56D4

Accessibility & contrast

On white

12.42
#1C2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2B7D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B7D#FFFFFF#000000##FFFFFF
##1C2B7D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2b7d;
/* rgb */ color: rgb(28, 43, 125);
/* oklch */ color: oklch(33.6% 0.139 269.2);
Tailwind
colors: {
  custom: {
    50: '#6964a3',
    500: '#1c2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b7d;
$custom-light: #6964a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b7d",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 230.722,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.33553,
    "c": 0.13926,
    "h": 269.2
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#1C2B7D
secondary
#B1A044
accent
#CD41E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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