#1C2F7A#1C2F7A

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

Color values

HEX#1C2F7A
RGBrgb(28, 47, 122)
HSLhsl(228, 63%, 29%)
HSVhsv(228, 77%, 48%)
CMYKcmyk(77%, 61.5%, 0%, 52.2%)
CIE-LABlab(22.60, 21.06, -44.93)
CIE-LCHlch(22.60, 49.62, 295.11°)
OKLaboklab(34.08% -0.0048 -0.1297)
OKLCHoklch(34.08% 0.13 267.9)
XYZxyz(5.0070, 3.6845, 18.8559)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F7A #7A671C
analogous
#1C5E7A #1C2F7A #381C7A
triadic
#1C2F7A #7A1C2F #2F7A1C
tetradic
#1C2F7A #7A1C5E #7A671C #1C7A38
square
#1C2F7A #7A1C5E #7A671C #1C7A38
split-complementary
#1C2F7A #7A381C #5E7A1C
monochromatic
#060A19 #111C48 #1C2F7A #2742AC #3E5CD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2F7A#FFFFFF#000000##FFFFFF
##1C2F7A1.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)
#003A7D
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2f7a;
/* rgb */ color: rgb(28, 47, 122);
/* oklch */ color: oklch(34.1% 0.130 267.9);
Tailwind
colors: {
  custom: {
    50: '#6767a1',
    500: '#1c2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f7a;
$custom-light: #6767a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f7a",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 227.872,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34077,
    "c": 0.12979,
    "h": 267.9
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#1C2F7A
secondary
#AE9844
accent
#C542E6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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