#1C0F61#1C0F61

#1C0F61 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.133 H 278.8°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#1C0F61
RGBrgb(28, 15, 97)
HSLhsl(250, 73%, 22%)
HSVhsv(250, 85%, 38%)
CMYKcmyk(71.1%, 84.5%, 0%, 62%)
CIE-LABlab(12.30, 32.58, -45.59)
CIE-LCHlch(12.30, 56.03, 305.55°)
OKLaboklab(25.85% 0.0203 -0.1317)
OKLCHoklch(25.85% 0.133 278.8)
XYZxyz(2.8067, 1.4514, 11.4392)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F61 #54610F
analogous
#0F2B61 #1C0F61 #450F61
triadic
#1C0F61 #611C0F #0F611C
tetradic
#1C0F61 #610F2B #54610F #0F6145
square
#1C0F61 #610F2B #54610F #0F6145
split-complementary
#1C0F61 #61450F #2B610F
monochromatic
#08041B #0D072C #1C0F61 #2B1796 #3B1FCB

Accessibility & contrast

On white

16.27
#1C0F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0F61
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F61#FFFFFF#000000##FFFFFF
##1C0F611.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002363
Deuteranopia (green-blind)
#001D60
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1c0f61;
/* rgb */ color: rgb(28, 15, 97);
/* oklch */ color: oklch(25.8% 0.133 278.8);
Tailwind
colors: {
  custom: {
    50: '#64508f',
    500: '#1c0f61',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f61;
$custom-light: #64508f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f61",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 97
  },
  "hsl": {
    "h": 249.512,
    "s": 73.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25846,
    "c": 0.13322,
    "h": 278.8
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#1C0F61
secondary
#8A9A32
accent
#F038D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0F61

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

Preview Lab → · Contrast checker → · Palette generator →

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