#343BB5#343BB5

#343BB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.189 H 272.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#343BB5
RGBrgb(52, 59, 181)
HSLhsl(237, 55%, 46%)
HSVhsv(237, 71%, 71%)
CMYKcmyk(71.3%, 67.4%, 0%, 29%)
CIE-LABlab(32.24, 38.04, -65.24)
CIE-LCHlch(32.24, 75.53, 300.25°)
OKLaboklab(43.15% 0.0093 -0.1886)
OKLCHoklch(43.15% 0.189 272.8)
XYZxyz(11.3178, 7.1931, 44.4990)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343BB5 #B5AE34
analogous
#347BB5 #343BB5 #6D34B5
triadic
#343BB5 #B5343B #3BB534
tetradic
#343BB5 #B5347B #B5AE34 #34B56D
square
#343BB5 #B5347B #B5AE34 #34B56D
split-complementary
#343BB5 #B56D34 #7BB534
monochromatic
#191C56 #262C85 #343BB5 #575ECF #878CDC

Accessibility & contrast

On white

8.61
#343BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#343BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343BB5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343BB5#FFFFFF#000000##FFFFFF
##343BB51.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343bb5;
/* rgb */ color: rgb(52, 59, 181);
/* oklch */ color: oklch(43.1% 0.189 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e71cc',
    500: '#343bb5',
    950: '#000000',
  },
}
SCSS
$custom: #343bb5;
$custom-light: #7e71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#343bb5",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 236.744,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.1888,
    "h": 272.8
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#343BB5
secondary
#C6C27F
accent
#D749DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343BB5

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

Preview Lab → · Contrast checker → · Palette generator →

#343BB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva