#343FB4#343FB4

#343FB4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.183 H 272.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#343FB4
RGBrgb(52, 63, 180)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 71%)
CMYKcmyk(71.1%, 65%, 0%, 29.4%)
CIE-LABlab(33.09, 35.19, -63.26)
CIE-LCHlch(33.09, 72.39, 299.09°)
OKLaboklab(43.74% 0.0067 -0.1827)
OKLCHoklch(43.74% 0.183 272.1)
XYZxyz(11.4291, 7.5792, 44.0318)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FB4 #B4A934
analogous
#347FB4 #343FB4 #6934B4
triadic
#343FB4 #B4343F #3FB434
tetradic
#343FB4 #B4347F #B4A934 #34B469
square
#343FB4 #B4347F #B4A934 #34B469
split-complementary
#343FB4 #B46934 #7FB434
monochromatic
#191E55 #262E85 #343FB4 #5761CE #868EDC

Accessibility & contrast

On white

8.35
#343FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#343FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FB4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FB4#FFFFFF#000000##FFFFFF
##343FB41.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343fb4;
/* rgb */ color: rgb(52, 63, 180);
/* oklch */ color: oklch(43.7% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d74cb',
    500: '#343fb4',
    950: '#000000',
  },
}
SCSS
$custom: #343fb4;
$custom-light: #7d74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#343fb4",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 234.844,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.18287,
    "h": 272.1
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#343FB4
secondary
#C6C07E
accent
#D249DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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