#343F90#343F90

#343F90 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.133 H 273.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#343F90
RGBrgb(52, 63, 144)
HSLhsl(233, 47%, 38%)
HSVhsv(233, 64%, 56%)
CMYKcmyk(63.9%, 56.3%, 0%, 43.5%)
CIE-LABlab(30.15, 22.24, -46.33)
CIE-LCHlch(30.15, 51.39, 295.64°)
OKLaboklab(40.65% 0.0073 -0.133)
OKLCHoklch(40.65% 0.133 273.1)
XYZxyz(8.2261, 6.2980, 27.1623)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343F90 #908534
analogous
#346D90 #343F90 #573490
triadic
#343F90 #90343F #3F9034
tetradic
#343F90 #90346D #908534 #349057
square
#343F90 #90346D #908534 #349057
split-complementary
#343F90 #905734 #6D9034
monochromatic
#141836 #242B63 #343F90 #4553BC #727DCC

Accessibility & contrast

On white

9.29
#343F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#343F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343F90
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343F90#FFFFFF#000000##FFFFFF
##343F901.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343f90;
/* rgb */ color: rgb(52, 63, 144);
/* oklch */ color: oklch(40.6% 0.133 273.1);
Tailwind
colors: {
  custom: {
    50: '#7673b1',
    500: '#343f90',
    950: '#000000',
  },
}
SCSS
$custom: #343f90;
$custom-light: #7673b1;
$custom-dark: #000000;
JSON
{
  "hex": "#343f90",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 232.826,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.13323,
    "h": 273.1
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#343F90
secondary
#B4AC6B
accent
#C751D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #343F90

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

Preview Lab → · Contrast checker → · Palette generator →

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