#2A348D#2A348D

#2A348D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.146 H 272.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2A348D
RGBrgb(42, 52, 141)
HSLhsl(234, 54%, 36%)
HSVhsv(234, 70%, 55%)
CMYKcmyk(70.2%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.36, 26.87, -50.67)
CIE-LCHlch(26.36, 57.35, 297.94°)
OKLaboklab(37.59% 0.0059 -0.1462)
OKLCHoklch(37.59% 0.146 272.3)
XYZxyz(6.9889, 4.8706, 25.7659)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A348D #8D832A
analogous
#2A658D #2A348D #512A8D
triadic
#2A348D #8D2A34 #348D2A
tetradic
#2A348D #8D2A65 #8D832A #2A8D51
square
#2A348D #8D2A65 #8D832A #2A8D51
split-complementary
#2A348D #8D512A #658D2A
monochromatic
#0E112F #1C235E #2A348D #3845BC #616DD0

Accessibility & contrast

On white

10.64
#2A348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A348D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A348D#FFFFFF#000000##FFFFFF
##2A348D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a348d;
/* rgb */ color: rgb(42, 52, 141);
/* oklch */ color: oklch(37.6% 0.146 272.3);
Tailwind
colors: {
  custom: {
    50: '#716baf',
    500: '#2a348d',
    950: '#000000',
  },
}
SCSS
$custom: #2a348d;
$custom-light: #716baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a348d",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 233.939,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.14628,
    "h": 272.3
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#2A348D
secondary
#B6AD5D
accent
#CF4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2A348D

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

Preview Lab → · Contrast checker → · Palette generator →

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