#2A346F#2A346F

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

Color values

HEX#2A346F
RGBrgb(42, 52, 111)
HSLhsl(231, 45%, 30%)
HSVhsv(231, 62%, 44%)
CMYKcmyk(62.2%, 53.2%, 0%, 56.5%)
CIE-LABlab(23.98, 15.64, -35.62)
CIE-LCHlch(23.98, 38.91, 293.70°)
OKLaboklab(35.06% 0.005 -0.1019)
OKLCHoklch(35.06% 0.102 272.8)
XYZxyz(5.0511, 4.0955, 15.5602)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A346F #6F652A
analogous
#2A576F #2A346F #422A6F
triadic
#2A346F #6F2A34 #346F2A
tetradic
#2A346F #6F2A57 #6F652A #2A6F42
square
#2A346F #6F2A57 #6F652A #2A6F42
split-complementary
#2A346F #6F422A #576F2A
monochromatic
#080A16 #191F43 #2A346F #3B499B #5564BF

Accessibility & contrast

On white

11.54
#2A346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A346F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A346F#FFFFFF#000000##FFFFFF
##2A346F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#06366E
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a346f;
/* rgb */ color: rgb(42, 52, 111);
/* oklch */ color: oklch(35.1% 0.102 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b6b99',
    500: '#2a346f',
    950: '#000000',
  },
}
SCSS
$custom: #2a346f;
$custom-light: #6b6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a346f",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 231.304,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.10205,
    "h": 272.8
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#2A346F
secondary
#A19654
accent
#C253D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A346F

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

Preview Lab → · Contrast checker → · Palette generator →

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