#2C3A7E#2C3A7E

#2C3A7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.116 H 271.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2C3A7E
RGBrgb(44, 58, 126)
HSLhsl(230, 48%, 33%)
HSVhsv(230, 65%, 49%)
CMYKcmyk(65.1%, 54%, 0%, 50.6%)
CIE-LABlab(26.93, 17.50, -40.39)
CIE-LCHlch(26.93, 44.02, 293.42°)
OKLaboklab(37.67% 0.0022 -0.1158)
OKLCHoklch(37.67% 0.116 271.1)
XYZxyz(6.3164, 5.0674, 20.3799)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A7E #7E702C
analogous
#2C637E #2C3A7E #472C7E
triadic
#2C3A7E #7E2C3A #3A7E2C
tetradic
#2C3A7E #7E2C63 #7E702C #2C7E47
square
#2C3A7E #7E2C63 #7E702C #2C7E47
split-complementary
#2C3A7E #7E472C #637E2C
monochromatic
#0C1023 #1C2551 #2C3A7E #3C4FAB #5E70C7

Accessibility & contrast

On white

10.43
#2C3A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C3A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A7E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A7E#FFFFFF#000000##FFFFFF
##2C3A7E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3a7e;
/* rgb */ color: rgb(44, 58, 126);
/* oklch */ color: oklch(37.7% 0.116 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e6fa4',
    500: '#2c3a7e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a7e;
$custom-light: #6e6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a7e",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 229.756,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37666,
    "c": 0.11585,
    "h": 271.1
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#2C3A7E
secondary
#AD9E59
accent
#C150D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C3A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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