#3438B4#3438B4

#3438B4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.191 H 273.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3438B4
RGBrgb(52, 56, 180)
HSLhsl(238, 55%, 45%)
HSVhsv(238, 71%, 71%)
CMYKcmyk(71.1%, 68.9%, 0%, 29.4%)
CIE-LABlab(31.47, 39.54, -65.92)
CIE-LCHlch(31.47, 76.87, 300.96°)
OKLaboklab(42.56% 0.0113 -0.1906)
OKLCHoklch(42.56% 0.191 273.4)
XYZxyz(11.0658, 6.8526, 43.9107)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438B4 #B4B034
analogous
#3478B4 #3438B4 #7034B4
triadic
#3438B4 #B43438 #38B434
tetradic
#3438B4 #B43478 #B4B034 #34B470
square
#3438B4 #B43478 #B4B034 #34B470
split-complementary
#3438B4 #B47034 #78B434
monochromatic
#191A55 #262985 #3438B4 #575BCE #8689DC

Accessibility & contrast

On white

8.86
#3438B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3438B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438B4
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438B4#FFFFFF#000000##FFFFFF
##3438B41.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3438b4;
/* rgb */ color: rgb(52, 56, 180);
/* oklch */ color: oklch(42.6% 0.191 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e6fcc',
    500: '#3438b4',
    950: '#000000',
  },
}
SCSS
$custom: #3438b4;
$custom-light: #7e6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3438b4",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 238.125,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.19089,
    "h": 273.4
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#3438B4
secondary
#C6C47E
accent
#DA49DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3438B4

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

Preview Lab → · Contrast checker → · Palette generator →

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