#2C3B85#2C3B85

#2C3B85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.125 H 270.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2C3B85
RGBrgb(44, 59, 133)
HSLhsl(230, 50%, 35%)
HSVhsv(230, 67%, 52%)
CMYKcmyk(66.9%, 55.6%, 0%, 47.8%)
CIE-LABlab(27.73, 19.45, -43.48)
CIE-LCHlch(27.73, 47.63, 294.10°)
OKLaboklab(38.43% 0.0017 -0.1249)
OKLCHoklch(38.43% 0.125 270.8)
XYZxyz(6.8349, 5.3562, 22.8594)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B85 #85762C
analogous
#2C6785 #2C3B85 #4A2C85
triadic
#2C3B85 #852C3B #3B852C
tetradic
#2C3B85 #852C67 #85762C #2C854A
square
#2C3B85 #852C67 #85762C #2C854A
split-complementary
#2C3B85 #854A2C #67852C
monochromatic
#0E1229 #1D2757 #2C3B85 #3B4FB3 #6173CB

Accessibility & contrast

On white

10.14
#2C3B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C3B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B85
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B85#FFFFFF#000000##FFFFFF
##2C3B851.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064688
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3b85;
/* rgb */ color: rgb(44, 59, 133);
/* oklch */ color: oklch(38.4% 0.125 270.8);
Tailwind
colors: {
  custom: {
    50: '#7070a9',
    500: '#2c3b85',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b85;
$custom-light: #7070a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b85",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 133
  },
  "hsl": {
    "h": 229.888,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.1249,
    "h": 270.8
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3B85

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

Preview Lab → · Contrast checker → · Palette generator →

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