#2C3D97#2C3D97

#2C3D97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.148 H 270.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2C3D97
RGBrgb(44, 61, 151)
HSLhsl(230, 55%, 38%)
HSVhsv(230, 71%, 59%)
CMYKcmyk(70.9%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.68, 24.86, -51.40)
CIE-LCHlch(29.68, 57.10, 295.81°)
OKLaboklab(40.34% 0.0006 -0.1482)
OKLCHoklch(40.34% 0.148 270.2)
XYZxyz(8.2915, 6.1065, 30.0139)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D97 #97862C
analogous
#2C7297 #2C3D97 #502C97
triadic
#2C3D97 #972C3D #3D972C
tetradic
#2C3D97 #972C72 #97862C #2C9750
square
#2C3D97 #972C72 #97862C #2C9750
split-complementary
#2C3D97 #97502C #72972C
monochromatic
#101738 #1E2A68 #2C3D97 #3A51C6 #6A7BD4

Accessibility & contrast

On white

9.45
#2C3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D97
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D97#FFFFFF#000000##FFFFFF
##2C3D971.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3d97;
/* rgb */ color: rgb(44, 61, 151);
/* oklch */ color: oklch(40.3% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#7472b6',
    500: '#2c3d97',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d97;
$custom-light: #7472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d97",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 230.467,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.14817,
    "h": 270.2
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#2C3D97
secondary
#BAAD65
accent
#C74ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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