#2F14CB#2F14CB

#2F14CB is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.7% C 0.247 H 272.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2F14CB
RGBrgb(47, 20, 203)
HSLhsl(249, 82%, 44%)
HSVhsv(249, 90%, 80%)
CMYKcmyk(76.8%, 90.1%, 0%, 20.4%)
CIE-LABlab(27.89, 63.04, -85.42)
CIE-LCHlch(27.89, 106.16, 306.43°)
OKLaboklab(40.71% 0.0125 -0.2468)
OKLCHoklch(40.71% 0.247 272.9)
XYZxyz(12.1983, 5.4151, 56.8907)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F14CB #B0CB14
analogous
#1455CB #2F14CB #8A14CB
triadic
#2F14CB #CB2F14 #14CB2F
tetradic
#2F14CB #CB1455 #B0CB14 #14CB8A
square
#2F14CB #CB1455 #B0CB14 #14CB8A
split-complementary
#2F14CB #CB8A14 #55CB14
monochromatic
#15095C #220F93 #2F14CB #4D31EB #7D69F0

Accessibility & contrast

On white

10.08
#2F14CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F14CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F14CB
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F14CB#FFFFFF#000000##FFFFFF
##2F14CB1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AD0
Deuteranopia (green-blind)
#0039C8
Tritanopia (blue-blind)
#005678
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f14cb;
/* rgb */ color: rgb(47, 20, 203);
/* oklch */ color: oklch(40.7% 0.247 272.9);
Tailwind
colors: {
  custom: {
    50: '#845ddd',
    500: '#2f14cb',
    950: '#000000',
  },
}
SCSS
$custom: #2f14cb;
$custom-light: #845ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f14cb",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 203
  },
  "hsl": {
    "h": 248.852,
    "s": 82.063,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.24712,
    "h": 272.9
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#2F14CB
secondary
#C5D565
accent
#F82FDB
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2F14CB

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

Preview Lab → · Contrast checker → · Palette generator →

#2F14CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva