#1C2F8F#1C2F8F

#1C2F8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.159 H 268.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#1C2F8F
RGBrgb(28, 47, 143)
HSLhsl(230, 67%, 34%)
HSVhsv(230, 80%, 56%)
CMYKcmyk(80.4%, 67.1%, 0%, 43.9%)
CIE-LABlab(24.52, 29.30, -54.95)
CIE-LCHlch(24.52, 62.28, 298.07°)
OKLaboklab(36.09% -0.0052 -0.1591)
OKLCHoklch(36.09% 0.159 268.1)
XYZxyz(6.4516, 4.2623, 26.4640)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F8F #8F7C1C
analogous
#1C688F #1C2F8F #421C8F
triadic
#1C2F8F #8F1C2F #2F8F1C
tetradic
#1C2F8F #8F1C68 #8F7C1C #1C8F42
square
#1C2F8F #8F1C68 #8F7C1C #1C8F42
split-complementary
#1C2F8F #8F421C #688F1C
monochromatic
#080D29 #121E5C #1C2F8F #2640C2 #4A62DC

Accessibility & contrast

On white

11.34
#1C2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1C2F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F8F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F8F#FFFFFF#000000##FFFFFF
##1C2F8F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c2f8f;
/* rgb */ color: rgb(28, 47, 143);
/* oklch */ color: oklch(36.1% 0.159 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d67b1',
    500: '#1c2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f8f;
$custom-light: #6d67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f8f",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 230.087,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.15916,
    "h": 268.1
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#1C2F8F
secondary
#BEAA49
accent
#CE3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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