#343FBD#343FBD

#343FBD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.195 H 271.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#343FBD
RGBrgb(52, 63, 189)
HSLhsl(235, 57%, 47%)
HSVhsv(235, 72%, 74%)
CMYKcmyk(72.5%, 66.7%, 0%, 25.9%)
CIE-LABlab(33.90, 38.36, -67.26)
CIE-LCHlch(33.90, 77.43, 299.70°)
OKLaboklab(44.57% 0.006 -0.1945)
OKLCHoklch(44.57% 0.195 271.8)
XYZxyz(12.3759, 7.9579, 49.0181)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FBD #BDB234
analogous
#3484BD #343FBD #6D34BD
triadic
#343FBD #BD343F #3FBD34
tetradic
#343FBD #BD3484 #BDB234 #34BD6D
square
#343FBD #BD3484 #BDB234 #34BD6D
split-complementary
#343FBD #BD6D34 #84BD34
monochromatic
#1A1F5D #272F8D #343FBD #5C66D2 #8C93DF

Accessibility & contrast

On white

8.10
#343FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#343FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FBD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FBD#FFFFFF#000000##FFFFFF
##343FBD1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #343fbd;
/* rgb */ color: rgb(52, 63, 189);
/* oklch */ color: oklch(44.6% 0.195 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f74d2',
    500: '#343fbd',
    950: '#000000',
  },
}
SCSS
$custom: #343fbd;
$custom-light: #7f74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#343fbd",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 235.182,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.19454,
    "h": 271.8
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#343FBD
secondary
#CAC483
accent
#D448E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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