#3438B9#3438B9

#3438B9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.197 H 273.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3438B9
RGBrgb(52, 56, 185)
HSLhsl(238, 56%, 46%)
HSVhsv(238, 72%, 73%)
CMYKcmyk(71.9%, 69.7%, 0%, 27.5%)
CIE-LABlab(31.94, 41.25, -68.10)
CIE-LCHlch(31.94, 79.62, 301.20°)
OKLaboklab(43.05% 0.0107 -0.1969)
OKLCHoklch(43.05% 0.197 273.1)
XYZxyz(11.5844, 7.0600, 46.6417)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438B9 #B9B534
analogous
#347BB9 #3438B9 #7234B9
triadic
#3438B9 #B93438 #38B934
tetradic
#3438B9 #B9347B #B9B534 #34B972
square
#3438B9 #B9347B #B9B534 #34B972
split-complementary
#3438B9 #B97234 #7BB934
monochromatic
#191B59 #272A89 #3438B9 #5A5DD1 #898CDE

Accessibility & contrast

On white

8.71
#3438B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3438B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438B9
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438B9#FFFFFF#000000##FFFFFF
##3438B91.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3438b9;
/* rgb */ color: rgb(52, 56, 185);
/* oklch */ color: oklch(43.0% 0.197 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f6fcf',
    500: '#3438b9',
    950: '#000000',
  },
}
SCSS
$custom: #3438b9;
$custom-light: #7f6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3438b9",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 238.195,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.19723,
    "h": 273.1
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#3438B9
secondary
#C8C681
accent
#DB48DF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3438B9

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

Preview Lab → · Contrast checker → · Palette generator →

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