#2A347A#2A347A

#2A347A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.119 H 272.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2A347A
RGBrgb(42, 52, 122)
HSLhsl(233, 49%, 32%)
HSVhsv(233, 66%, 48%)
CMYKcmyk(65.6%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.81, 19.76, -41.31)
CIE-LCHlch(24.81, 45.79, 295.57°)
OKLaboklab(35.94% 0.0058 -0.1186)
OKLCHoklch(35.94% 0.119 272.8)
XYZxyz(5.6945, 4.3529, 18.9487)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A347A #7A702A
analogous
#2A5C7A #2A347A #482A7A
triadic
#2A347A #7A2A34 #347A2A
tetradic
#2A347A #7A2A5C #7A702A #2A7A48
square
#2A347A #7A2A5C #7A702A #2A7A48
split-complementary
#2A347A #7A482A #5C7A2A
monochromatic
#0B0D1F #1A214C #2A347A #3A47A8 #5966C6

Accessibility & contrast

On white

11.23
#2A347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A347A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A347A#FFFFFF#000000##FFFFFF
##2A347A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a347a;
/* rgb */ color: rgb(42, 52, 122);
/* oklch */ color: oklch(35.9% 0.119 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d6ba1',
    500: '#2a347a',
    950: '#000000',
  },
}
SCSS
$custom: #2a347a;
$custom-light: #6d6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a347a",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 232.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35942,
    "c": 0.11879,
    "h": 272.8
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#2A347A
secondary
#ABA055
accent
#C74FD8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2A347A

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

Preview Lab → · Contrast checker → · Palette generator →

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