#3438AB#3438AB

#3438AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.179 H 273.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3438AB
RGBrgb(52, 56, 171)
HSLhsl(238, 53%, 44%)
HSVhsv(238, 70%, 67%)
CMYKcmyk(69.6%, 67.3%, 0%, 32.9%)
CIE-LABlab(30.63, 36.43, -61.92)
CIE-LCHlch(30.63, 71.84, 300.47°)
OKLaboklab(41.7% 0.0123 -0.1789)
OKLCHoklch(41.7% 0.179 273.9)
XYZxyz(10.1786, 6.4977, 39.2380)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438AB #ABA734
analogous
#3473AB #3438AB #6B34AB
triadic
#3438AB #AB3438 #38AB34
tetradic
#3438AB #AB3473 #ABA734 #34AB6B
square
#3438AB #AB3473 #ABA734 #34AB6B
split-complementary
#3438AB #AB6B34 #73AB34
monochromatic
#17194D #26297C #3438AB #5256CA #8184D9

Accessibility & contrast

On white

9.13
#3438AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3438AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438AB
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438AB#FFFFFF#000000##FFFFFF
##3438AB1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3438ab;
/* rgb */ color: rgb(52, 56, 171);
/* oklch */ color: oklch(41.7% 0.179 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c6fc5',
    500: '#3438ab',
    950: '#000000',
  },
}
SCSS
$custom: #3438ab;
$custom-light: #7c6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3438ab",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 237.983,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.17928,
    "h": 273.9
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#3438AB
secondary
#C2BF79
accent
#D84BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3438AB

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

Preview Lab → · Contrast checker → · Palette generator →

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