#3438B3#3438B3

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

Color values

HEX#3438B3
RGBrgb(52, 56, 179)
HSLhsl(238, 55%, 45%)
HSVhsv(238, 71%, 70%)
CMYKcmyk(70.9%, 68.7%, 0%, 29.8%)
CIE-LABlab(31.38, 39.20, -65.48)
CIE-LCHlch(31.38, 76.31, 300.90°)
OKLaboklab(42.46% 0.0114 -0.1893)
OKLCHoklch(42.46% 0.19 273.5)
XYZxyz(10.9643, 6.8120, 43.3761)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438B3 #B3AF34
analogous
#3478B3 #3438B3 #6F34B3
triadic
#3438B3 #B33438 #38B334
tetradic
#3438B3 #B33478 #B3AF34 #34B36F
square
#3438B3 #B33478 #B3AF34 #34B36F
split-complementary
#3438B3 #B36F34 #78B334
monochromatic
#181A54 #262984 #3438B3 #565ACE #8688DC

Accessibility & contrast

On white

8.89
#3438B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3438B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438B3
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438B3#FFFFFF#000000##FFFFFF
##3438B31.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3438b3;
/* rgb */ color: rgb(52, 56, 179);
/* oklch */ color: oklch(42.5% 0.190 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e6fcb',
    500: '#3438b3',
    950: '#000000',
  },
}
SCSS
$custom: #3438b3;
$custom-light: #7e6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3438b3",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 238.11,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.18961,
    "h": 273.5
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3438B3

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

Preview Lab → · Contrast checker → · Palette generator →

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