#2C3697#2C3697

#2C3697 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.157 H 272.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2C3697
RGBrgb(44, 54, 151)
HSLhsl(234, 55%, 38%)
HSVhsv(234, 71%, 59%)
CMYKcmyk(70.9%, 64.2%, 0%, 40.8%)
CIE-LABlab(27.87, 29.52, -54.36)
CIE-LCHlch(27.87, 61.86, 298.50°)
OKLaboklab(39% 0.0061 -0.1569)
OKLCHoklch(39% 0.157 272.2)
XYZxyz(7.9419, 5.4074, 29.8973)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3697 #978D2C
analogous
#2C6B97 #2C3697 #582C97
triadic
#2C3697 #972C36 #36972C
tetradic
#2C3697 #972C6B #978D2C #2C9758
square
#2C3697 #972C6B #978D2C #2C9758
split-complementary
#2C3697 #97582C #6B972C
monochromatic
#101438 #1E2568 #2C3697 #3A47C6 #6A74D4

Accessibility & contrast

On white

10.09
#2C3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3697
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3697#FFFFFF#000000##FFFFFF
##2C36971.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3697;
/* rgb */ color: rgb(44, 54, 151);
/* oklch */ color: oklch(39.0% 0.157 272.2);
Tailwind
colors: {
  custom: {
    50: '#746db6',
    500: '#2c3697',
    950: '#000000',
  },
}
SCSS
$custom: #2c3697;
$custom-light: #746db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3697",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 234.393,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.15705,
    "h": 272.2
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#2C3697
secondary
#BAB265
accent
#D04ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3697

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

Preview Lab → · Contrast checker → · Palette generator →

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