#2C347E#2C347E

#2C347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.124 H 273.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2C347E
RGBrgb(44, 52, 126)
HSLhsl(234, 48%, 33%)
HSVhsv(234, 65%, 49%)
CMYKcmyk(65.1%, 58.7%, 0%, 50.6%)
CIE-LABlab(25.25, 21.62, -43.10)
CIE-LCHlch(25.25, 48.22, 296.64°)
OKLaboklab(36.41% 0.0083 -0.1239)
OKLCHoklch(36.41% 0.124 273.8)
XYZxyz(6.0313, 4.4973, 20.2848)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C347E #7E762C
analogous
#2C5D7E #2C347E #4D2C7E
triadic
#2C347E #7E2C34 #347E2C
tetradic
#2C347E #7E2C5D #7E762C #2C7E4D
square
#2C347E #7E2C5D #7E762C #2C7E4D
split-complementary
#2C347E #7E4D2C #5D7E2C
monochromatic
#0C0F23 #1C2151 #2C347E #3C47AB #5E68C7

Accessibility & contrast

On white

11.05
#2C347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C347E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C347E#FFFFFF#000000##FFFFFF
##2C347E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c347e;
/* rgb */ color: rgb(44, 52, 126);
/* oklch */ color: oklch(36.4% 0.124 273.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ba4',
    500: '#2c347e',
    950: '#000000',
  },
}
SCSS
$custom: #2c347e;
$custom-light: #6f6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c347e",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 234.146,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3641,
    "c": 0.12416,
    "h": 273.8
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#2C347E
secondary
#ADA559
accent
#CB50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C347E

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

Preview Lab → · Contrast checker → · Palette generator →

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