#2C3C97#2C3C97

#2C3C97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.149 H 270.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2C3C97
RGBrgb(44, 60, 151)
HSLhsl(231, 55%, 38%)
HSVhsv(231, 71%, 59%)
CMYKcmyk(70.9%, 60.3%, 0%, 40.8%)
CIE-LABlab(29.41, 25.53, -51.84)
CIE-LCHlch(29.41, 57.78, 296.22°)
OKLaboklab(40.14% 0.0014 -0.1494)
OKLCHoklch(40.14% 0.149 270.5)
XYZxyz(8.2386, 6.0007, 29.9962)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C97 #97872C
analogous
#2C7197 #2C3C97 #512C97
triadic
#2C3C97 #972C3C #3C972C
tetradic
#2C3C97 #972C71 #97872C #2C9751
square
#2C3C97 #972C71 #97872C #2C9751
split-complementary
#2C3C97 #97512C #71972C
monochromatic
#101638 #1E2968 #2C3C97 #3A4FC6 #6A7AD4

Accessibility & contrast

On white

9.54
#2C3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C3C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C97
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C97#FFFFFF#000000##FFFFFF
##2C3C971.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3c97;
/* rgb */ color: rgb(44, 60, 151);
/* oklch */ color: oklch(40.1% 0.149 270.5);
Tailwind
colors: {
  custom: {
    50: '#7471b6',
    500: '#2c3c97',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c97;
$custom-light: #7471b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c97",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 231.028,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.14946,
    "h": 270.5
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#2C3C97
secondary
#BAAD65
accent
#C84ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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