#2C3183#2C3183

#2C3183 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.135 H 274.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2C3183
RGBrgb(44, 49, 131)
HSLhsl(237, 50%, 34%)
HSVhsv(237, 66%, 51%)
CMYKcmyk(66.4%, 62.6%, 0%, 48.6%)
CIE-LABlab(24.86, 25.50, -46.88)
CIE-LCHlch(24.86, 53.37, 298.55°)
OKLaboklab(36.25% 0.0112 -0.135)
OKLCHoklch(36.25% 0.135 274.7)
XYZxyz(6.2324, 4.3703, 21.9834)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3183 #837E2C
analogous
#2C5D83 #2C3183 #532C83
triadic
#2C3183 #832C31 #31832C
tetradic
#2C3183 #832C5D #837E2C #2C8353
square
#2C3183 #832C5D #837E2C #2C8353
split-complementary
#2C3183 #83532C #5D832C
monochromatic
#0D0F27 #1D2055 #2C3183 #3B42B1 #6066CA

Accessibility & contrast

On white

11.20
#2C3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3183
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3183#FFFFFF#000000##FFFFFF
##2C31831.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c3183;
/* rgb */ color: rgb(44, 49, 131);
/* oklch */ color: oklch(36.2% 0.135 274.7);
Tailwind
colors: {
  custom: {
    50: '#7069a8',
    500: '#2c3183',
    950: '#000000',
  },
}
SCSS
$custom: #2c3183;
$custom-light: #7069a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3183",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 236.552,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36247,
    "c": 0.13548,
    "h": 274.7
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#2C3183
secondary
#B0AB5B
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3183

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

Preview Lab → · Contrast checker → · Palette generator →

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