#3438BB#3438BB

#3438BB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.200 H 273.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3438BB
RGBrgb(52, 56, 187)
HSLhsl(238, 56%, 47%)
HSVhsv(238, 72%, 73%)
CMYKcmyk(72.2%, 70.1%, 0%, 26.7%)
CIE-LABlab(32.13, 41.93, -68.97)
CIE-LCHlch(32.13, 80.72, 301.30°)
OKLaboklab(43.24% 0.0104 -0.1995)
OKLCHoklch(43.24% 0.2 273)
XYZxyz(11.7970, 7.1451, 47.7615)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438BB #BBB734
analogous
#347CBB #3438BB #7434BB
triadic
#3438BB #BB3438 #38BB34
tetradic
#3438BB #BB347C #BBB734 #34BB74
square
#3438BB #BB347C #BBB734 #34BB74
split-complementary
#3438BB #BB7434 #7CBB34
monochromatic
#191B5B #272A8B #3438BB #5B5ED1 #8B8DDF

Accessibility & contrast

On white

8.64
#3438BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3438BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438BB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438BB#FFFFFF#000000##FFFFFF
##3438BB1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3438bb;
/* rgb */ color: rgb(52, 56, 187);
/* oklch */ color: oklch(43.2% 0.200 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f6fd1',
    500: '#3438bb',
    950: '#000000',
  },
}
SCSS
$custom: #3438bb;
$custom-light: #7f6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3438bb",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 238.222,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43242,
    "c": 0.19974,
    "h": 273
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#3438BB
secondary
#C9C782
accent
#DB48E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3438BB

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

Preview Lab → · Contrast checker → · Palette generator →

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