#1C2F7B#1C2F7B

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

Color values

HEX#1C2F7B
RGBrgb(28, 47, 123)
HSLhsl(228, 63%, 30%)
HSVhsv(228, 77%, 48%)
CMYKcmyk(77.2%, 61.8%, 0%, 51.8%)
CIE-LABlab(22.69, 21.46, -45.42)
CIE-LCHlch(22.69, 50.23, 295.29°)
OKLaboklab(34.17% -0.0048 -0.1311)
OKLCHoklch(34.17% 0.131 267.9)
XYZxyz(5.0693, 3.7094, 19.1839)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F7B #7B681C
analogous
#1C5F7B #1C2F7B #391C7B
triadic
#1C2F7B #7B1C2F #2F7B1C
tetradic
#1C2F7B #7B1C5F #7B681C #1C7B39
square
#1C2F7B #7B1C5F #7B681C #1C7B39
split-complementary
#1C2F7B #7B391C #5F7B1C
monochromatic
#060A19 #111C49 #1C2F7B #2742AD #3E5CD3

Accessibility & contrast

On white

12.06
#1C2F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F7B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F7B#FFFFFF#000000##FFFFFF
##1C2F7B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2f7b;
/* rgb */ color: rgb(28, 47, 123);
/* oklch */ color: oklch(34.2% 0.131 267.9);
Tailwind
colors: {
  custom: {
    50: '#6867a2',
    500: '#1c2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f7b;
$custom-light: #6867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f7b",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 228,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34168,
    "c": 0.13124,
    "h": 267.9
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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