#2C3B95#2C3B95

#2C3B95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.148 H 270.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2C3B95
RGBrgb(44, 59, 149)
HSLhsl(231, 54%, 38%)
HSVhsv(231, 70%, 58%)
CMYKcmyk(70.5%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.99, 25.45, -51.31)
CIE-LCHlch(28.99, 57.28, 296.38°)
OKLaboklab(39.77% 0.0022 -0.1479)
OKLCHoklch(39.77% 0.148 270.9)
XYZxyz(8.0256, 5.8326, 29.1308)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B95 #95862C
analogous
#2C6F95 #2C3B95 #522C95
triadic
#2C3B95 #952C3B #3B952C
tetradic
#2C3B95 #952C6F #95862C #2C9552
square
#2C3B95 #952C6F #95862C #2C9552
split-complementary
#2C3B95 #95522C #6F952C
monochromatic
#101637 #1E2866 #2C3B95 #3A4EC4 #6978D3

Accessibility & contrast

On white

9.69
#2C3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C3B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B95
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B95#FFFFFF#000000##FFFFFF
##2C3B951.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3b95;
/* rgb */ color: rgb(44, 59, 149);
/* oklch */ color: oklch(39.8% 0.148 270.9);
Tailwind
colors: {
  custom: {
    50: '#7370b5',
    500: '#2c3b95',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b95;
$custom-light: #7370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b95",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 231.429,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39772,
    "c": 0.14794,
    "h": 270.9
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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