#2C347F#2C347F

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

Color values

HEX#2C347F
RGBrgb(44, 52, 127)
HSLhsl(234, 49%, 34%)
HSVhsv(234, 65%, 50%)
CMYKcmyk(65.4%, 59.1%, 0%, 50.2%)
CIE-LABlab(25.33, 21.99, -43.60)
CIE-LCHlch(25.33, 48.84, 296.77°)
OKLaboklab(36.49% 0.0083 -0.1253)
OKLCHoklch(36.49% 0.126 273.8)
XYZxyz(6.0962, 4.5233, 20.6264)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C347F #7F772C
analogous
#2C5D7F #2C347F #4D2C7F
triadic
#2C347F #7F2C34 #347F2C
tetradic
#2C347F #7F2C5D #7F772C #2C7F4D
square
#2C347F #7F2C5D #7F772C #2C7F4D
split-complementary
#2C347F #7F4D2C #5D7F2C
monochromatic
#0D0F24 #1C2152 #2C347F #3C47AC #5E68C7

Accessibility & contrast

On white

11.02
#2C347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C347F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C347F#FFFFFF#000000##FFFFFF
##2C347F1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c347f;
/* rgb */ color: rgb(44, 52, 127);
/* oklch */ color: oklch(36.5% 0.126 273.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ba5',
    500: '#2c347f',
    950: '#000000',
  },
}
SCSS
$custom: #2c347f;
$custom-light: #6f6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c347f",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 234.217,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.12563,
    "h": 273.8
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C347F

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

Preview Lab → · Contrast checker → · Palette generator →

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