#2A347E#2A347E

#2A347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.125 H 272.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2A347E
RGBrgb(42, 52, 126)
HSLhsl(233, 50%, 33%)
HSVhsv(233, 67%, 49%)
CMYKcmyk(66.7%, 58.7%, 0%, 50.6%)
CIE-LABlab(25.12, 21.27, -43.32)
CIE-LCHlch(25.12, 48.26, 296.14°)
OKLaboklab(36.28% 0.006 -0.1246)
OKLCHoklch(36.28% 0.125 272.7)
XYZxyz(5.9475, 4.4541, 20.2809)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A347E #7E742A
analogous
#2A5E7E #2A347E #4A2A7E
triadic
#2A347E #7E2A34 #347E2A
tetradic
#2A347E #7E2A5E #7E742A #2A7E4A
square
#2A347E #7E2A5E #7E742A #2A7E4A
split-complementary
#2A347E #7E4A2A #5E7E2A
monochromatic
#0B0E22 #1B2150 #2A347E #3947AC #5A67C8

Accessibility & contrast

On white

11.11
#2A347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A347E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A347E#FFFFFF#000000##FFFFFF
##2A347E1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a347e;
/* rgb */ color: rgb(42, 52, 126);
/* oklch */ color: oklch(36.3% 0.125 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e6ba4',
    500: '#2a347e',
    950: '#000000',
  },
}
SCSS
$custom: #2a347e;
$custom-light: #6e6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a347e",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 232.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36276,
    "c": 0.12472,
    "h": 272.7
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#2A347E
secondary
#AEA356
accent
#C94EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A347E

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

Preview Lab → · Contrast checker → · Palette generator →

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