#2C2FB0#2C2FB0

#2C2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.198 H 272.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2C2FB0
RGBrgb(44, 47, 176)
HSLhsl(239, 60%, 43%)
HSVhsv(239, 75%, 69%)
CMYKcmyk(75%, 73.3%, 0%, 31%)
CIE-LABlab(28.65, 42.72, -68.20)
CIE-LCHlch(28.65, 80.47, 302.06°)
OKLaboklab(40.29% 0.0077 -0.1974)
OKLCHoklch(40.29% 0.198 272.2)
XYZxyz(9.8891, 5.7021, 41.6453)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FB0 #B0AD2C
analogous
#2C71B0 #2C2FB0 #6B2CB0
triadic
#2C2FB0 #B02C2F #2FB02C
tetradic
#2C2FB0 #B02C71 #B0AD2C #2CB06B
square
#2C2FB0 #B02C71 #B0AD2C #2CB06B
split-complementary
#2C2FB0 #B06B2C #71B02C
monochromatic
#14154E #20227F #2C2FB0 #484BD1 #797BDD

Accessibility & contrast

On white

9.81
#2C2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FB0
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FB0#FFFFFF#000000##FFFFFF
##2C2FB01.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2fb0;
/* rgb */ color: rgb(44, 47, 176);
/* oklch */ color: oklch(40.3% 0.198 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b69c9',
    500: '#2c2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fb0;
$custom-light: #7b69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fb0",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 238.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.19752,
    "h": 272.2
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#2C2FB0
secondary
#C6C472
accent
#E045E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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