#2C3E97#2C3E97

#2C3E97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.147 H 269.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2C3E97
RGBrgb(44, 62, 151)
HSLhsl(230, 55%, 38%)
HSVhsv(230, 71%, 59%)
CMYKcmyk(70.9%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.95, 24.18, -50.97)
CIE-LCHlch(29.95, 56.42, 295.38°)
OKLaboklab(40.54% -0.0002 -0.1469)
OKLCHoklch(40.54% 0.147 269.9)
XYZxyz(8.3453, 6.2143, 30.0318)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E97 #97852C
analogous
#2C7397 #2C3E97 #502C97
triadic
#2C3E97 #972C3E #3E972C
tetradic
#2C3E97 #972C73 #97852C #2C9750
square
#2C3E97 #972C73 #97852C #2C9750
split-complementary
#2C3E97 #97502C #73972C
monochromatic
#101738 #1E2B68 #2C3E97 #3A52C6 #6A7CD4

Accessibility & contrast

On white

9.36
#2C3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C3E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E97
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E97#FFFFFF#000000##FFFFFF
##2C3E971.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3e97;
/* rgb */ color: rgb(44, 62, 151);
/* oklch */ color: oklch(40.5% 0.147 269.9);
Tailwind
colors: {
  custom: {
    50: '#7473b6',
    500: '#2c3e97',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e97;
$custom-light: #7473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e97",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 229.907,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.14688,
    "h": 269.9
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#2C3E97
secondary
#BAAC65
accent
#C54ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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