#2C345E#2C345E

#2C345E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.074 H 273.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2C345E
RGBrgb(44, 52, 94)
HSLhsl(230, 36%, 27%)
HSVhsv(230, 53%, 37%)
CMYKcmyk(53.2%, 44.7%, 0%, 63.1%)
CIE-LABlab(23.00, 9.88, -26.18)
CIE-LCHlch(23.00, 27.98, 290.69°)
OKLaboklab(33.98% 0.0048 -0.0741)
OKLCHoklch(33.98% 0.074 273.7)
XYZxyz(4.2864, 3.7993, 11.0950)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C345E #5E562C
analogous
#2C4D5E #2C345E #3D2C5E
triadic
#2C345E #5E2C34 #345E2C
tetradic
#2C345E #5E2C4D #5E562C #2C5E3D
square
#2C345E #5E2C4D #5E562C #2C5E3D
split-complementary
#2C345E #5E3D2C #4D5E2C
monochromatic
#0A0C15 #181D34 #2C345E #404B88 #5563AF

Accessibility & contrast

On white

11.93
#2C345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C345E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C345E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C345E#FFFFFF#000000##FFFFFF
##2C345E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#183D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c345e;
/* rgb */ color: rgb(44, 52, 94);
/* oklch */ color: oklch(34.0% 0.074 273.7);
Tailwind
colors: {
  custom: {
    50: '#696b8c',
    500: '#2c345e',
    950: '#000000',
  },
}
SCSS
$custom: #2c345e;
$custom-light: #696b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c345e",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 230.4,
    "s": 36.232,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33984,
    "c": 0.0743,
    "h": 273.7
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#2C345E
secondary
#908756
accent
#BA5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2C345E

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

Preview Lab → · Contrast checker → · Palette generator →

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