#2C2FB3#2C2FB3

#2C2FB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.201 H 272.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2C2FB3
RGBrgb(44, 47, 179)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 75%, 70%)
CMYKcmyk(75.4%, 73.7%, 0%, 29.8%)
CIE-LABlab(28.96, 43.73, -69.48)
CIE-LCHlch(28.96, 82.09, 302.19°)
OKLaboklab(40.6% 0.0072 -0.2011)
OKLCHoklch(40.6% 0.201 272)
XYZxyz(10.1892, 5.8221, 43.2259)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2FB3 #B3B02C
analogous
#2C72B3 #2C2FB3 #6C2CB3
triadic
#2C2FB3 #B32C2F #2FB32C
tetradic
#2C2FB3 #B32C72 #B3B02C #2CB36C
square
#2C2FB3 #B32C72 #B3B02C #2CB36C
split-complementary
#2C2FB3 #B36C2C #72B32C
monochromatic
#141551 #202282 #2C2FB3 #4A4DD2 #7B7DDF

Accessibility & contrast

On white

9.70
#2C2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2FB3
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2FB3#FFFFFF#000000##FFFFFF
##2C2FB31.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2fb3;
/* rgb */ color: rgb(44, 47, 179);
/* oklch */ color: oklch(40.6% 0.201 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b69cb',
    500: '#2c2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2fb3;
$custom-light: #7b69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2fb3",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 238.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.20122,
    "h": 272
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#2C2FB3
secondary
#C7C574
accent
#E044E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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