#1208BC#1208BC

#1208BC is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.8% C 0.243 H 266.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1208BC
RGBrgb(18, 8, 188)
HSLhsl(243, 92%, 38%)
HSVhsv(243, 96%, 74%)
CMYKcmyk(90.4%, 95.7%, 0%, 26.3%)
CIE-LABlab(23.45, 61.29, -84.03)
CIE-LCHlch(23.45, 104.00, 306.11°)
OKLaboklab(36.77% -0.0144 -0.2428)
OKLCHoklch(36.77% 0.243 266.6)
XYZxyz(9.4103, 3.9319, 47.8301)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1208BC #B2BC08
analogous
#0858BC #1208BC #6C08BC
triadic
#1208BC #BC1208 #08BC12
tetradic
#1208BC #BC0858 #B2BC08 #08BC6C
square
#1208BC #BC0858 #B2BC08 #08BC6C
split-complementary
#1208BC #BC6C08 #58BC08
monochromatic
#070347 #0C0681 #1208BC #190DF5 #5147F7

Accessibility & contrast

On white

11.75
#1208BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1208BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1208BC
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1208BC#FFFFFF#000000##FFFFFF
##1208BC1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041C0
Deuteranopia (green-blind)
#002EB9
Tritanopia (blue-blind)
#004E6E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1208bc;
/* rgb */ color: rgb(18, 8, 188);
/* oklch */ color: oklch(36.8% 0.243 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a57d2',
    500: '#1208bc',
    950: '#000000',
  },
}
SCSS
$custom: #1208bc;
$custom-light: #7a57d2;
$custom-dark: #000000;
JSON
{
  "hex": "#1208bc",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 188
  },
  "hsl": {
    "h": 243.333,
    "s": 91.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36769,
    "c": 0.24325,
    "h": 266.6
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#1208BC
secondary
#CFD748
accent
#FF29F3
background
#F8F5FD
surface
#F0E9FA
border
#CBC5D3
text
#0C0414
muted
#7D7983

Preview Lab

Preview with #1208BC

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

Preview Lab → · Contrast checker → · Palette generator →

#1208BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva