#3438B7#3438B7

#3438B7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.195 H 273.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3438B7
RGBrgb(52, 56, 183)
HSLhsl(238, 56%, 46%)
HSVhsv(238, 72%, 72%)
CMYKcmyk(71.6%, 69.4%, 0%, 28.2%)
CIE-LABlab(31.75, 40.57, -67.23)
CIE-LCHlch(31.75, 78.52, 301.11°)
OKLaboklab(42.85% 0.0109 -0.1944)
OKLCHoklch(42.85% 0.195 273.2)
XYZxyz(11.3747, 6.9762, 45.5376)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438B7 #B7B334
analogous
#3479B7 #3438B7 #7134B7
triadic
#3438B7 #B73438 #38B734
tetradic
#3438B7 #B73479 #B7B334 #34B771
square
#3438B7 #B73479 #B7B334 #34B771
split-complementary
#3438B7 #B77134 #79B734
monochromatic
#191B58 #262987 #3438B7 #595CD0 #888BDD

Accessibility & contrast

On white

8.77
#3438B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3438B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438B7
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438B7#FFFFFF#000000##FFFFFF
##3438B71.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3438b7;
/* rgb */ color: rgb(52, 56, 183);
/* oklch */ color: oklch(42.9% 0.195 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e6fce',
    500: '#3438b7',
    950: '#000000',
  },
}
SCSS
$custom: #3438b7;
$custom-light: #7e6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3438b7",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 238.168,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.19471,
    "h": 273.2
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3438B7

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

Preview Lab → · Contrast checker → · Palette generator →

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