#2C3B97#2C3B97

#2C3B97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.151 H 270.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2C3B97
RGBrgb(44, 59, 151)
HSLhsl(232, 55%, 38%)
HSVhsv(232, 71%, 59%)
CMYKcmyk(70.9%, 60.9%, 0%, 40.8%)
CIE-LABlab(29.15, 26.20, -52.26)
CIE-LCHlch(29.15, 58.46, 296.62°)
OKLaboklab(39.95% 0.0022 -0.1507)
OKLCHoklch(39.95% 0.151 270.8)
XYZxyz(8.1867, 5.8970, 29.9789)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B97 #97882C
analogous
#2C7097 #2C3B97 #522C97
triadic
#2C3B97 #972C3B #3B972C
tetradic
#2C3B97 #972C70 #97882C #2C9752
square
#2C3B97 #972C70 #97882C #2C9752
split-complementary
#2C3B97 #97522C #70972C
monochromatic
#101638 #1E2868 #2C3B97 #3A4EC6 #6A79D4

Accessibility & contrast

On white

9.63
#2C3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C3B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B97
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B97#FFFFFF#000000##FFFFFF
##2C3B971.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3b97;
/* rgb */ color: rgb(44, 59, 151);
/* oklch */ color: oklch(39.9% 0.151 270.8);
Tailwind
colors: {
  custom: {
    50: '#7470b6',
    500: '#2c3b97',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b97;
$custom-light: #7470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b97",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 231.589,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.15075,
    "h": 270.8
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#2C3B97
secondary
#BAAE65
accent
#C94ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3B97

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

Preview Lab → · Contrast checker → · Palette generator →

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