#1C2F8E#1C2F8E

#1C2F8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.158 H 268.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1C2F8E
RGBrgb(28, 47, 142)
HSLhsl(230, 67%, 33%)
HSVhsv(230, 80%, 56%)
CMYKcmyk(80.3%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.42, 28.92, -54.49)
CIE-LCHlch(24.42, 61.69, 297.96°)
OKLaboklab(35.99% -0.0052 -0.1577)
OKLCHoklch(35.99% 0.158 268.1)
XYZxyz(6.3762, 4.2322, 26.0668)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F8E #8E7B1C
analogous
#1C688E #1C2F8E #421C8E
triadic
#1C2F8E #8E1C2F #2F8E1C
tetradic
#1C2F8E #8E1C68 #8E7B1C #1C8E42
square
#1C2F8E #8E1C68 #8E7B1C #1C8E42
split-complementary
#1C2F8E #8E421C #688E1C
monochromatic
#080D28 #121E5B #1C2F8E #2640C1 #4962DB

Accessibility & contrast

On white

11.37
#1C2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F8E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F8E#FFFFFF#000000##FFFFFF
##1C2F8E1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c2f8e;
/* rgb */ color: rgb(28, 47, 142);
/* oklch */ color: oklch(36.0% 0.158 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d67b0',
    500: '#1c2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f8e;
$custom-light: #6d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f8e",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 230,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35989,
    "c": 0.1578,
    "h": 268.1
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#1C2F8E
secondary
#BDAA49
accent
#CD3EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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