#1C0F62#1C0F62

#1C0F62 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.135 H 278.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#1C0F62
RGBrgb(28, 15, 98)
HSLhsl(249, 73%, 22%)
HSVhsv(249, 85%, 38%)
CMYKcmyk(71.4%, 84.7%, 0%, 61.6%)
CIE-LABlab(12.42, 32.92, -46.05)
CIE-LCHlch(12.42, 56.61, 305.56°)
OKLaboklab(25.97% 0.02 -0.133)
OKLCHoklch(25.97% 0.135 278.6)
XYZxyz(2.8536, 1.4701, 11.6863)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F62 #55620F
analogous
#0F2B62 #1C0F62 #460F62
triadic
#1C0F62 #621C0F #0F621C
tetradic
#1C0F62 #620F2B #55620F #0F6246
square
#1C0F62 #620F2B #55620F #0F6246
split-complementary
#1C0F62 #62460F #2B620F
monochromatic
#08041B #0D072D #1C0F62 #2B1797 #3A1FCC

Accessibility & contrast

On white

16.23
#1C0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1C0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F62
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F62#FFFFFF#000000##FFFFFF
##1C0F621.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002364
Deuteranopia (green-blind)
#001D61
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1c0f62;
/* rgb */ color: rgb(28, 15, 98);
/* oklch */ color: oklch(26.0% 0.135 278.6);
Tailwind
colors: {
  custom: {
    50: '#645090',
    500: '#1c0f62',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f62;
$custom-light: #645090;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f62",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 249.398,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25966,
    "c": 0.13451,
    "h": 278.6
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#1C0F62
secondary
#8B9B32
accent
#F038D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #1C0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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