#3438AC#3438AC

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

Color values

HEX#3438AC
RGBrgb(52, 56, 172)
HSLhsl(238, 54%, 44%)
HSVhsv(238, 70%, 67%)
CMYKcmyk(69.8%, 67.4%, 0%, 32.5%)
CIE-LABlab(30.73, 36.77, -62.37)
CIE-LCHlch(30.73, 72.40, 300.53°)
OKLaboklab(41.8% 0.0122 -0.1802)
OKLCHoklch(41.8% 0.181 273.9)
XYZxyz(10.2743, 6.5360, 39.7418)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438AC #ACA834
analogous
#3474AC #3438AC #6C34AC
triadic
#3438AC #AC3438 #38AC34
tetradic
#3438AC #AC3474 #ACA834 #34AC6C
square
#3438AC #AC3474 #ACA834 #34AC6C
split-complementary
#3438AC #AC6C34 #74AC34
monochromatic
#18194E #26297D #3438AC #5256CB #8184D9

Accessibility & contrast

On white

9.10
#3438AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3438AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3438AC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3438AC#FFFFFF#000000##FFFFFF
##3438AC1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3438ac;
/* rgb */ color: rgb(52, 56, 172);
/* oklch */ color: oklch(41.8% 0.181 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c6fc6',
    500: '#3438ac',
    950: '#000000',
  },
}
SCSS
$custom: #3438ac;
$custom-light: #7c6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3438ac",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 238,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.18058,
    "h": 273.9
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3438AC

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

Preview Lab → · Contrast checker → · Palette generator →

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