#1C2F89#1C2F89

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

Color values

HEX#1C2F89
RGBrgb(28, 47, 137)
HSLhsl(230, 66%, 32%)
HSVhsv(230, 80%, 54%)
CMYKcmyk(79.6%, 65.7%, 0%, 46.3%)
CIE-LABlab(23.95, 26.98, -52.15)
CIE-LCHlch(23.95, 58.72, 297.35°)
OKLaboklab(35.5% -0.005 -0.1509)
OKLCHoklch(35.5% 0.151 268.1)
XYZxyz(6.0092, 4.0854, 24.1339)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F89 #89761C
analogous
#1C6689 #1C2F89 #3F1C89
triadic
#1C2F89 #891C2F #2F891C
tetradic
#1C2F89 #891C66 #89761C #1C893F
square
#1C2F89 #891C66 #89761C #1C893F
split-complementary
#1C2F89 #893F1C #66891C
monochromatic
#070C23 #121E56 #1C2F89 #2640BC #4660D9

Accessibility & contrast

On white

11.56
#1C2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F89
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F89#FFFFFF#000000##FFFFFF
##1C2F891.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c2f89;
/* rgb */ color: rgb(28, 47, 137);
/* oklch */ color: oklch(35.5% 0.151 268.1);
Tailwind
colors: {
  custom: {
    50: '#6b67ac',
    500: '#1c2f89',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f89;
$custom-light: #6b67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f89",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 229.541,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.15097,
    "h": 268.1
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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