#2A346A#2A346A

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

Color values

HEX#2A346A
RGBrgb(42, 52, 106)
HSLhsl(231, 43%, 29%)
HSVhsv(231, 60%, 42%)
CMYKcmyk(60.4%, 50.9%, 0%, 58.4%)
CIE-LABlab(23.63, 13.77, -32.97)
CIE-LCHlch(23.63, 35.73, 292.67°)
OKLaboklab(34.69% 0.0044 -0.0941)
OKLCHoklch(34.69% 0.094 272.7)
XYZxyz(4.7835, 3.9885, 14.1507)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A346A #6A602A
analogous
#2A546A #2A346A #402A6A
triadic
#2A346A #6A2A34 #346A2A
tetradic
#2A346A #6A2A54 #6A602A #2A6A40
square
#2A346A #6A2A54 #6A602A #2A6A40
split-complementary
#2A346A #6A402A #546A2A
monochromatic
#090B16 #191E3E #2A346A #3B4A96 #5364BB

Accessibility & contrast

On white

11.68
#2A346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A346A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A346A#FFFFFF#000000##FFFFFF
##2A346A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#103669
Tritanopia (blue-blind)
#02404A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a346a;
/* rgb */ color: rgb(42, 52, 106);
/* oklch */ color: oklch(34.7% 0.094 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a6b95',
    500: '#2a346a',
    950: '#000000',
  },
}
SCSS
$custom: #2a346a;
$custom-light: #6a6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#2a346a",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 230.625,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34685,
    "c": 0.09423,
    "h": 272.7
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#2A346A
secondary
#9C9154
accent
#BF55D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2A346A

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

Preview Lab → · Contrast checker → · Palette generator →

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