#2C3A85#2C3A85

#2C3A85 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.126 H 271.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2C3A85
RGBrgb(44, 58, 133)
HSLhsl(231, 50%, 35%)
HSVhsv(231, 67%, 52%)
CMYKcmyk(66.9%, 56.4%, 0%, 47.8%)
CIE-LABlab(27.45, 20.13, -43.93)
CIE-LCHlch(27.45, 48.32, 294.62°)
OKLaboklab(38.22% 0.0027 -0.1262)
OKLCHoklch(38.22% 0.126 271.2)
XYZxyz(6.7840, 5.2544, 22.8425)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A85 #85772C
analogous
#2C6685 #2C3A85 #4B2C85
triadic
#2C3A85 #852C3A #3A852C
tetradic
#2C3A85 #852C66 #85772C #2C854B
square
#2C3A85 #852C66 #85772C #2C854B
split-complementary
#2C3A85 #854B2C #66852C
monochromatic
#0E1229 #1D2657 #2C3A85 #3B4EB3 #6171CB

Accessibility & contrast

On white

10.24
#2C3A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C3A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A85
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A85#FFFFFF#000000##FFFFFF
##2C3A851.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014588
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3a85;
/* rgb */ color: rgb(44, 58, 133);
/* oklch */ color: oklch(38.2% 0.126 271.2);
Tailwind
colors: {
  custom: {
    50: '#706fa9',
    500: '#2c3a85',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a85;
$custom-light: #706fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a85",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 230.562,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.12626,
    "h": 271.2
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#2C3A85
secondary
#B1A35C
accent
#C44EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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