#2C3295#2C3295

#2C3295 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.159 H 273.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2C3295
RGBrgb(44, 50, 149)
HSLhsl(237, 54%, 38%)
HSVhsv(237, 70%, 58%)
CMYKcmyk(70.5%, 66.4%, 0%, 41.6%)
CIE-LABlab(26.69, 31.40, -55.05)
CIE-LCHlch(26.69, 63.38, 299.70°)
OKLaboklab(38.08% 0.0093 -0.159)
OKLCHoklch(38.08% 0.159 273.3)
XYZxyz(7.6023, 4.9859, 28.9897)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3295 #958F2C
analogous
#2C6795 #2C3295 #5A2C95
triadic
#2C3295 #952C32 #32952C
tetradic
#2C3295 #952C67 #958F2C #2C955A
square
#2C3295 #952C67 #958F2C #2C955A
split-complementary
#2C3295 #955A2C #67952C
monochromatic
#101237 #1E2266 #2C3295 #3A42C4 #696FD3

Accessibility & contrast

On white

10.51
#2C3295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C3295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3295
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3295#FFFFFF#000000##FFFFFF
##2C32951.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3295;
/* rgb */ color: rgb(44, 50, 149);
/* oklch */ color: oklch(38.1% 0.159 273.3);
Tailwind
colors: {
  custom: {
    50: '#746ab5',
    500: '#2c3295',
    950: '#000000',
  },
}
SCSS
$custom: #2c3295;
$custom-light: #746ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3295",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 236.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.15925,
    "h": 273.3
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#2C3295
secondary
#B9B464
accent
#D54ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3295

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

Preview Lab → · Contrast checker → · Palette generator →

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