#1C2F8A#1C2F8A

#1C2F8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.152 H 268.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#1C2F8A
RGBrgb(28, 47, 138)
HSLhsl(230, 66%, 33%)
HSVhsv(230, 80%, 54%)
CMYKcmyk(79.7%, 65.9%, 0%, 45.9%)
CIE-LABlab(24.05, 27.37, -52.62)
CIE-LCHlch(24.05, 59.32, 297.48°)
OKLaboklab(35.59% -0.005 -0.1523)
OKLCHoklch(35.59% 0.152 268.1)
XYZxyz(6.0813, 4.1142, 24.5134)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F8A #8A771C
analogous
#1C668A #1C2F8A #401C8A
triadic
#1C2F8A #8A1C2F #2F8A1C
tetradic
#1C2F8A #8A1C66 #8A771C #1C8A40
square
#1C2F8A #8A1C66 #8A771C #1C8A40
split-complementary
#1C2F8A #8A401C #668A1C
monochromatic
#070C24 #121E57 #1C2F8A #2640BD #4760DA

Accessibility & contrast

On white

11.52
#1C2F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1C2F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F8A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F8A#FFFFFF#000000##FFFFFF
##1C2F8A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2f8a;
/* rgb */ color: rgb(28, 47, 138);
/* oklch */ color: oklch(35.6% 0.152 268.1);
Tailwind
colors: {
  custom: {
    50: '#6c67ad',
    500: '#1c2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f8a;
$custom-light: #6c67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f8a",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 229.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.15234,
    "h": 268.1
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#1C2F8A
secondary
#BBA746
accent
#CC3FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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