#2A346C#2A346C

#2A346C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.097 H 272.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2A346C
RGBrgb(42, 52, 108)
HSLhsl(231, 44%, 29%)
HSVhsv(231, 61%, 42%)
CMYKcmyk(61.1%, 51.9%, 0%, 57.6%)
CIE-LABlab(23.77, 14.51, -34.04)
CIE-LCHlch(23.77, 37.00, 293.09°)
OKLaboklab(34.84% 0.0046 -0.0973)
OKLCHoklch(34.84% 0.097 272.7)
XYZxyz(4.8887, 4.0306, 14.7048)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A346C #6C622A
analogous
#2A556C #2A346C #412A6C
triadic
#2A346C #6C2A34 #346C2A
tetradic
#2A346C #6C2A55 #6C622A #2A6C41
square
#2A346C #6C2A55 #6C622A #2A6C41
split-complementary
#2A346C #6C412A #556C2A
monochromatic
#090B16 #191F40 #2A346C #3B4998 #5464BC

Accessibility & contrast

On white

11.63
#2A346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A346C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A346C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A346C#FFFFFF#000000##FFFFFF
##2A346C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#0D366B
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a346c;
/* rgb */ color: rgb(42, 52, 108);
/* oklch */ color: oklch(34.8% 0.097 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a6b96',
    500: '#2a346c',
    950: '#000000',
  },
}
SCSS
$custom: #2a346c;
$custom-light: #6a6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a346c",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 230.909,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34835,
    "c": 0.09737,
    "h": 272.7
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#2A346C
secondary
#9E9354
accent
#C054D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A346C

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

Preview Lab → · Contrast checker → · Palette generator →

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