#1C2B7B#1C2B7B

#1C2B7B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.136 H 269.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1C2B7B
RGBrgb(28, 43, 123)
HSLhsl(231, 63%, 30%)
HSVhsv(231, 77%, 48%)
CMYKcmyk(77.2%, 65%, 0%, 51.8%)
CIE-LABlab(21.59, 24.25, -47.20)
CIE-LCHlch(21.59, 53.07, 297.19°)
OKLaboklab(33.36% -0.0018 -0.1364)
OKLCHoklch(33.36% 0.136 269.2)
XYZxyz(4.9167, 3.4042, 19.1330)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2B7B #7B6C1C
analogous
#1C5B7B #1C2B7B #3C1C7B
triadic
#1C2B7B #7B1C2B #2B7B1C
tetradic
#1C2B7B #7B1C5B #7B6C1C #1C7B3C
square
#1C2B7B #7B1C5B #7B6C1C #1C7B3C
split-complementary
#1C2B7B #7B3C1C #5B7B1C
monochromatic
#060919 #111A49 #1C2B7B #273CAD #3E56D3

Accessibility & contrast

On white

12.49
#1C2B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C2B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2B7B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2B7B#FFFFFF#000000##FFFFFF
##1C2B7B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2b7b;
/* rgb */ color: rgb(28, 43, 123);
/* oklch */ color: oklch(33.4% 0.136 269.2);
Tailwind
colors: {
  custom: {
    50: '#6864a2',
    500: '#1c2b7b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2b7b;
$custom-light: #6864a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2b7b",
  "rgb": {
    "r": 28,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 230.526,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.13643,
    "h": 269.2
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#1C2B7B
secondary
#AF9E44
accent
#CC42E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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