Ultramarine#2000B1

#2000B1 is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.5% C 0.231 H 270.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Ultramarine — editorial page

Color values

HEX#2000B1
RGBrgb(32, 0, 177)
HSLhsl(251, 100%, 35%)
HSVhsv(251, 100%, 69%)
CMYKcmyk(81.9%, 100%, 0%, 30.6%)
CIE-LABlab(21.87, 60.60, -80.07)
CIE-LCHlch(21.87, 100.42, 307.12°)
OKLaboklab(35.46% 0.0025 -0.2311)
OKLCHoklch(35.46% 0.231 270.6)
XYZxyz(8.5288, 3.4804, 41.8087)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2000B1 #91B100
analogous
#0039B1 #2000B1 #7800B1
triadic
#2000B1 #B12000 #00B120
tetradic
#2000B1 #B10039 #91B100 #00B178
square
#2000B1 #B10039 #91B100 #00B178
split-complementary
#2000B1 #B17800 #39B100
monochromatic
#0A0037 #150074 #2000B1 #2B00EE #522CFF

Accessibility & contrast

On white

12.38
#2000B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2000B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2000B1
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2000B1#FFFFFF#000000##FFFFFF
##2000B11.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CB5
Deuteranopia (green-blind)
#002CAE
Tritanopia (blue-blind)
#004766
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2000b1;
/* rgb */ color: rgb(32, 0, 177);
/* oklch */ color: oklch(35.5% 0.231 270.6);
Tailwind
colors: {
  custom: {
    50: '#7b54ca',
    500: '#2000b1',
    950: '#000000',
  },
}
SCSS
$custom: #2000b1;
$custom-light: #7b54ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2000b1",
  "rgb": {
    "r": 32,
    "g": 0,
    "b": 177
  },
  "hsl": {
    "h": 250.847,
    "s": 100,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35459,
    "c": 0.23112,
    "h": 270.6
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#2000B1
secondary
#BCDB32
accent
#FF29D8
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0313
muted
#7D7882

Preview Lab

Preview with #2000B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2000B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva