#2A347B#2A347B

#2A347B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.120 H 272.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2A347B
RGBrgb(42, 52, 123)
HSLhsl(233, 49%, 32%)
HSVhsv(233, 66%, 48%)
CMYKcmyk(65.9%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.88, 20.14, -41.81)
CIE-LCHlch(24.88, 46.41, 295.72°)
OKLaboklab(36.03% 0.0059 -0.1201)
OKLCHoklch(36.03% 0.12 272.8)
XYZxyz(5.7568, 4.3778, 19.2767)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A347B #7B712A
analogous
#2A5C7B #2A347B #492A7B
triadic
#2A347B #7B2A34 #347B2A
tetradic
#2A347B #7B2A5C #7B712A #2A7B49
square
#2A347B #7B2A5C #7B712A #2A7B49
split-complementary
#2A347B #7B492A #5C7B2A
monochromatic
#0B0D20 #1A214D #2A347B #3A47A9 #5967C6

Accessibility & contrast

On white

11.20
#2A347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A347B
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A347B#FFFFFF#000000##FFFFFF
##2A347B1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a347b;
/* rgb */ color: rgb(42, 52, 123);
/* oklch */ color: oklch(36.0% 0.120 272.8);
Tailwind
colors: {
  custom: {
    50: '#6d6ba2',
    500: '#2a347b',
    950: '#000000',
  },
}
SCSS
$custom: #2a347b;
$custom-light: #6d6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a347b",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 232.593,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.12028,
    "h": 272.8
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#2A347B
secondary
#ACA155
accent
#C84FD9
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2A347B

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

Preview Lab → · Contrast checker → · Palette generator →

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