#2C2D8F#2C2D8F

#2C2D8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.157 H 274.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2C2D8F
RGBrgb(44, 45, 143)
HSLhsl(239, 53%, 37%)
HSVhsv(239, 69%, 56%)
CMYKcmyk(69.2%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.94, 32.47, -54.23)
CIE-LCHlch(24.94, 63.21, 300.91°)
OKLaboklab(36.64% 0.0136 -0.1566)
OKLCHoklch(36.64% 0.157 274.9)
XYZxyz(6.9334, 4.3948, 26.4642)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D8F #8F8E2C
analogous
#2C5F8F #2C2D8F #5D2C8F
triadic
#2C2D8F #8F2C2D #2D8F2C
tetradic
#2C2D8F #8F2C5F #8F8E2C #2C8F5D
square
#2C2D8F #8F2C5F #8F8E2C #2C8F5D
split-complementary
#2C2D8F #8F5D2C #5F8F2C
monochromatic
#0F1031 #1E1E60 #2C2D8F #3A3CBE #6667D0

Accessibility & contrast

On white

11.18
#2C2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D8F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D8F#FFFFFF#000000##FFFFFF
##2C2D8F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2d8f;
/* rgb */ color: rgb(44, 45, 143);
/* oklch */ color: oklch(36.6% 0.157 274.9);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2c2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d8f;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d8f",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 239.394,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36635,
    "c": 0.15719,
    "h": 274.9
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#2C2D8F
secondary
#B6B561
accent
#DB4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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