#2C3A94#2C3A94

#2C3A94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.148 H 271.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2C3A94
RGBrgb(44, 58, 148)
HSLhsl(232, 54%, 38%)
HSVhsv(232, 70%, 58%)
CMYKcmyk(70.3%, 60.8%, 0%, 42%)
CIE-LABlab(28.64, 25.75, -51.26)
CIE-LCHlch(28.64, 57.37, 296.67°)
OKLaboklab(39.49% 0.0031 -0.1478)
OKLCHoklch(39.49% 0.148 271.2)
XYZxyz(7.8952, 5.6989, 28.6952)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A94 #94862C
analogous
#2C6E94 #2C3A94 #522C94
triadic
#2C3A94 #942C3A #3A942C
tetradic
#2C3A94 #942C6E #94862C #2C9452
square
#2C3A94 #942C6E #94862C #2C9452
split-complementary
#2C3A94 #94522C #6E942C
monochromatic
#101536 #1E2865 #2C3A94 #3A4CC3 #6876D2

Accessibility & contrast

On white

9.81
#2C3A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C3A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A94
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A94#FFFFFF#000000##FFFFFF
##2C3A941.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3a94;
/* rgb */ color: rgb(44, 58, 148);
/* oklch */ color: oklch(39.5% 0.148 271.2);
Tailwind
colors: {
  custom: {
    50: '#7370b4',
    500: '#2c3a94',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a94;
$custom-light: #7370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a94",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 231.923,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39489,
    "c": 0.14782,
    "h": 271.2
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#2C3A94
secondary
#B9AD63
accent
#CA4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3A94

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

Preview Lab → · Contrast checker → · Palette generator →

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