#2A348C#2A348C

#2A348C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.145 H 272.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2A348C
RGBrgb(42, 52, 140)
HSLhsl(234, 54%, 36%)
HSVhsv(234, 70%, 55%)
CMYKcmyk(70%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.28, 26.50, -50.19)
CIE-LCHlch(26.28, 56.76, 297.84°)
OKLaboklab(37.5% 0.0059 -0.1447)
OKLCHoklch(37.5% 0.145 272.3)
XYZxyz(6.9149, 4.8410, 25.3759)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A348C #8C822A
analogous
#2A658C #2A348C #512A8C
triadic
#2A348C #8C2A34 #348C2A
tetradic
#2A348C #8C2A65 #8C822A #2A8C51
square
#2A348C #8C2A65 #8C822A #2A8C51
split-complementary
#2A348C #8C512A #658C2A
monochromatic
#0E112E #1C235D #2A348C #3845BB #616CD0

Accessibility & contrast

On white

10.67
#2A348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A348C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A348C#FFFFFF#000000##FFFFFF
##2A348C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a348c;
/* rgb */ color: rgb(42, 52, 140);
/* oklch */ color: oklch(37.5% 0.145 272.3);
Tailwind
colors: {
  custom: {
    50: '#716bae',
    500: '#2a348c',
    950: '#000000',
  },
}
SCSS
$custom: #2a348c;
$custom-light: #716bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a348c",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 233.878,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37498,
    "c": 0.14487,
    "h": 272.3
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#2A348C
secondary
#B5AC5C
accent
#CE4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2A348C

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

Preview Lab → · Contrast checker → · Palette generator →

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