#2C2BAF#2C2BAF

#2C2BAF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.6% C 0.200 H 272.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2C2BAF
RGBrgb(44, 43, 175)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(74.9%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.73, 44.67, -69.12)
CIE-LCHlch(27.73, 82.29, 302.87°)
OKLaboklab(39.61% 0.0097 -0.2)
OKLCHoklch(39.61% 0.2 272.8)
XYZxyz(9.6379, 5.3574, 41.0753)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BAF #AEAF2B
analogous
#2B6CAF #2C2BAF #6E2BAF
triadic
#2C2BAF #AF2C2B #2BAF2C
tetradic
#2C2BAF #AF2B6C #AEAF2B #2BAF6E
square
#2C2BAF #AF2B6C #AEAF2B #2BAF6E
split-complementary
#2C2BAF #AF6E2B #6CAF2B
monochromatic
#13134D #201F7E #2C2BAF #4746D1 #7877DE

Accessibility & contrast

On white

10.14
#2C2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BAF
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BAF#FFFFFF#000000##FFFFFF
##2C2BAF1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2baf;
/* rgb */ color: rgb(44, 43, 175);
/* oklch */ color: oklch(39.6% 0.200 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b66c8',
    500: '#2c2baf',
    950: '#000000',
  },
}
SCSS
$custom: #2c2baf;
$custom-light: #7b66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2baf",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 240.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.20025,
    "h": 272.8
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#2C2BAF
secondary
#C5C570
accent
#E444E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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