#2C3283#2C3283

#2C3283 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.134 H 274.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2C3283
RGBrgb(44, 50, 131)
HSLhsl(236, 50%, 34%)
HSVhsv(236, 66%, 51%)
CMYKcmyk(66.4%, 61.8%, 0%, 48.6%)
CIE-LABlab(25.12, 24.83, -46.46)
CIE-LCHlch(25.12, 52.68, 298.13°)
OKLaboklab(36.44% 0.0102 -0.1338)
OKLCHoklch(36.44% 0.134 274.4)
XYZxyz(6.2747, 4.4548, 21.9975)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3283 #837D2C
analogous
#2C5E83 #2C3283 #522C83
triadic
#2C3283 #832C32 #32832C
tetradic
#2C3283 #832C5E #837D2C #2C8352
square
#2C3283 #832C5E #837D2C #2C8352
split-complementary
#2C3283 #83522C #5E832C
monochromatic
#0D0F27 #1D2155 #2C3283 #3B43B1 #6067CA

Accessibility & contrast

On white

11.11
#2C3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3283
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3283#FFFFFF#000000##FFFFFF
##2C32831.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3283;
/* rgb */ color: rgb(44, 50, 131);
/* oklch */ color: oklch(36.4% 0.134 274.4);
Tailwind
colors: {
  custom: {
    50: '#706aa8',
    500: '#2c3283',
    950: '#000000',
  },
}
SCSS
$custom: #2c3283;
$custom-light: #706aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3283",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 235.862,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36441,
    "c": 0.13415,
    "h": 274.4
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#2C3283
secondary
#B0AA5B
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3283

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

Preview Lab → · Contrast checker → · Palette generator →

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