#3438B2#3438B2

#3438B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.188 H 273.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3438B2
RGBrgb(52, 56, 178)
HSLhsl(238, 55%, 45%)
HSVhsv(238, 71%, 70%)
CMYKcmyk(70.8%, 68.5%, 0%, 30.2%)
CIE-LABlab(31.28, 38.85, -65.04)
CIE-LCHlch(31.28, 75.76, 300.85°)
OKLaboklab(42.37% 0.0115 -0.188)
OKLCHoklch(42.37% 0.188 273.5)
XYZxyz(10.8635, 6.7717, 42.8454)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438B2 #B2AE34
analogous
#3477B2 #3438B2 #6F34B2
triadic
#3438B2 #B23438 #38B234
tetradic
#3438B2 #B23477 #B2AE34 #34B26F
square
#3438B2 #B23477 #B2AE34 #34B26F
split-complementary
#3438B2 #B26F34 #77B234
monochromatic
#181A53 #262983 #3438B2 #5659CE #8588DB

Accessibility & contrast

On white

8.92
#3438B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3438B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438B2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438B2#FFFFFF#000000##FFFFFF
##3438B21.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3438b2;
/* rgb */ color: rgb(52, 56, 178);
/* oklch */ color: oklch(42.4% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d6fca',
    500: '#3438b2',
    950: '#000000',
  },
}
SCSS
$custom: #3438b2;
$custom-light: #7d6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3438b2",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 238.095,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42368,
    "c": 0.18833,
    "h": 273.5
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#3438B2
secondary
#C5C37D
accent
#D94ADE
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3438B2

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

Preview Lab → · Contrast checker → · Palette generator →

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