#3438B5#3438B5

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

Color values

HEX#3438B5
RGBrgb(52, 56, 181)
HSLhsl(238, 55%, 46%)
HSVhsv(238, 71%, 71%)
CMYKcmyk(71.3%, 69.1%, 0%, 29%)
CIE-LABlab(31.56, 39.88, -66.36)
CIE-LCHlch(31.56, 77.42, 301.01°)
OKLaboklab(42.66% 0.0112 -0.1918)
OKLCHoklch(42.66% 0.192 273.3)
XYZxyz(11.1680, 6.8935, 44.4491)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438B5 #B5B134
analogous
#3478B5 #3438B5 #7134B5
triadic
#3438B5 #B53438 #38B534
tetradic
#3438B5 #B53478 #B5B134 #34B571
square
#3438B5 #B53478 #B5B134 #34B571
split-complementary
#3438B5 #B57134 #78B534
monochromatic
#191B56 #262985 #3438B5 #575BCF #878ADC

Accessibility & contrast

On white

8.83
#3438B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3438B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438B5
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438B5#FFFFFF#000000##FFFFFF
##3438B51.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3438b5;
/* rgb */ color: rgb(52, 56, 181);
/* oklch */ color: oklch(42.7% 0.192 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e6fcc',
    500: '#3438b5',
    950: '#000000',
  },
}
SCSS
$custom: #3438b5;
$custom-light: #7e6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3438b5",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 238.14,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.19217,
    "h": 273.3
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3438B5

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

Preview Lab → · Contrast checker → · Palette generator →

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