#3438B6#3438B6

#3438B6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.193 H 273.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3438B6
RGBrgb(52, 56, 182)
HSLhsl(238, 56%, 46%)
HSVhsv(238, 71%, 71%)
CMYKcmyk(71.4%, 69.2%, 0%, 28.6%)
CIE-LABlab(31.66, 40.23, -66.80)
CIE-LCHlch(31.66, 77.97, 301.06°)
OKLaboklab(42.75% 0.0111 -0.1931)
OKLCHoklch(42.75% 0.193 273.3)
XYZxyz(11.2710, 6.9347, 44.9914)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438B6 #B6B234
analogous
#3479B6 #3438B6 #7134B6
triadic
#3438B6 #B63438 #38B634
tetradic
#3438B6 #B63479 #B6B234 #34B671
square
#3438B6 #B63479 #B6B234 #34B671
split-complementary
#3438B6 #B67134 #79B634
monochromatic
#191B57 #262986 #3438B6 #585CCF #888ADD

Accessibility & contrast

On white

8.80
#3438B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3438B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438B6
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438B6#FFFFFF#000000##FFFFFF
##3438B61.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3438b6;
/* rgb */ color: rgb(52, 56, 182);
/* oklch */ color: oklch(42.8% 0.193 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e6fcd',
    500: '#3438b6',
    950: '#000000',
  },
}
SCSS
$custom: #3438b6;
$custom-light: #7e6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3438b6",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 238.154,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.19344,
    "h": 273.3
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#3438B6
secondary
#C7C57F
accent
#DA49DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3438B6

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

Preview Lab → · Contrast checker → · Palette generator →

#3438B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva