#343F95#343F95

#343F95 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.140 H 273.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#343F95
RGBrgb(52, 63, 149)
HSLhsl(233, 48%, 39%)
HSVhsv(233, 65%, 58%)
CMYKcmyk(65.1%, 57.7%, 0%, 41.6%)
CIE-LABlab(30.53, 24.05, -48.78)
CIE-LCHlch(30.53, 54.38, 296.25°)
OKLaboklab(41.05% 0.0075 -0.1402)
OKLCHoklch(41.05% 0.14 273.1)
XYZxyz(8.6167, 6.4543, 29.2197)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F95 #958A34
analogous
#347095 #343F95 #5A3495
triadic
#343F95 #95343F #3F9534
tetradic
#343F95 #953470 #958A34 #34955A
square
#343F95 #953470 #958A34 #34955A
split-complementary
#343F95 #955A34 #709534
monochromatic
#14193A #242C68 #343F95 #4755BF #757FCF

Accessibility & contrast

On white

9.17
#343F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#343F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F95
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F95#FFFFFF#000000##FFFFFF
##343F951.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343f95;
/* rgb */ color: rgb(52, 63, 149);
/* oklch */ color: oklch(41.1% 0.140 273.1);
Tailwind
colors: {
  custom: {
    50: '#7773b5',
    500: '#343f95',
    950: '#000000',
  },
}
SCSS
$custom: #343f95;
$custom-light: #7773b5;
$custom-dark: #000000;
JSON
{
  "hex": "#343f95",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 233.196,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.14043,
    "h": 273.1
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#343F95
secondary
#B7AF6E
accent
#C850D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343F95

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

Preview Lab → · Contrast checker → · Palette generator →

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