#2A346D#2A346D

#2A346D is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.099 H 272.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2A346D
RGBrgb(42, 52, 109)
HSLhsl(231, 44%, 30%)
HSVhsv(231, 61%, 43%)
CMYKcmyk(61.5%, 52.3%, 0%, 57.3%)
CIE-LABlab(23.84, 14.89, -34.57)
CIE-LCHlch(23.84, 37.64, 293.30°)
OKLaboklab(34.91% 0.0048 -0.0988)
OKLCHoklch(34.91% 0.099 272.8)
XYZxyz(4.9422, 4.0520, 14.9867)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A346D #6D632A
analogous
#2A566D #2A346D #422A6D
triadic
#2A346D #6D2A34 #346D2A
tetradic
#2A346D #6D2A56 #6D632A #2A6D42
square
#2A346D #6D2A56 #6D632A #2A6D42
split-complementary
#2A346D #6D422A #566D2A
monochromatic
#090B16 #191F41 #2A346D #3B4999 #5464BD

Accessibility & contrast

On white

11.60
#2A346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A346D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A346D#FFFFFF#000000##FFFFFF
##2A346D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#0B366C
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a346d;
/* rgb */ color: rgb(42, 52, 109);
/* oklch */ color: oklch(34.9% 0.099 272.8);
Tailwind
colors: {
  custom: {
    50: '#6a6b97',
    500: '#2a346d',
    950: '#000000',
  },
}
SCSS
$custom: #2a346d;
$custom-light: #6a6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#2a346d",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 231.045,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3491,
    "c": 0.09894,
    "h": 272.8
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#2A346D
secondary
#9F9454
accent
#C154D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A346D

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

Preview Lab → · Contrast checker → · Palette generator →

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