#1C0F8E#1C0F8E

#1C0F8E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.5% C 0.188 H 271.9°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1C0F8E
RGBrgb(28, 15, 142)
HSLhsl(246, 81%, 31%)
HSVhsv(246, 89%, 56%)
CMYKcmyk(80.3%, 89.4%, 0%, 44.3%)
CIE-LABlab(18.10, 46.76, -64.94)
CIE-LCHlch(18.10, 80.02, 305.76°)
OKLaboklab(31.51% 0.0064 -0.1878)
OKLCHoklch(31.51% 0.188 271.9)
XYZxyz(5.5306, 2.5409, 25.7849)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F8E #818E0F
analogous
#0F418E #1C0F8E #5B0F8E
triadic
#1C0F8E #8E1C0F #0F8E1C
tetradic
#1C0F8E #8E0F41 #818E0F #0F8E5B
square
#1C0F8E #8E0F41 #818E0F #0F8E5B
split-complementary
#1C0F8E #8E5B0F #418E0F
monochromatic
#06031F #110957 #1C0F8E #2715C5 #422EE9

Accessibility & contrast

On white

13.92
#1C0F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C0F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F8E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F8E#FFFFFF#000000##FFFFFF
##1C0F8E1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c0f8e;
/* rgb */ color: rgb(28, 15, 142);
/* oklch */ color: oklch(31.5% 0.188 271.9);
Tailwind
colors: {
  custom: {
    50: '#7054b1',
    500: '#1c0f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f8e;
$custom-light: #7054b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f8e",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 142
  },
  "hsl": {
    "h": 246.142,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31505,
    "c": 0.18787,
    "h": 271.9
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#1C0F8E
secondary
#B4C336
accent
#F731E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1C0F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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