#3438AA#3438AA

#3438AA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.178 H 274.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3438AA
RGBrgb(52, 56, 170)
HSLhsl(238, 53%, 44%)
HSVhsv(238, 69%, 67%)
CMYKcmyk(69.4%, 67.1%, 0%, 33.3%)
CIE-LABlab(30.54, 36.08, -61.47)
CIE-LCHlch(30.54, 71.27, 300.41°)
OKLaboklab(41.61% 0.0124 -0.1775)
OKLCHoklch(41.61% 0.178 274)
XYZxyz(10.0836, 6.4597, 38.7379)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3438AA #AAA634
analogous
#3473AA #3438AA #6B34AA
triadic
#3438AA #AA3438 #38AA34
tetradic
#3438AA #AA3473 #AAA634 #34AA6B
square
#3438AA #AA3473 #AAA634 #34AA6B
split-complementary
#3438AA #AA6B34 #73AA34
monochromatic
#17194C #26297B #3438AA #5155CA #8083D8

Accessibility & contrast

On white

9.16
#3438AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3438AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3438AA#FFFFFF#000000##FFFFFF
##3438AA1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3438aa;
/* rgb */ color: rgb(52, 56, 170);
/* oklch */ color: oklch(41.6% 0.178 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c6fc4',
    500: '#3438aa',
    950: '#000000',
  },
}
SCSS
$custom: #3438aa;
$custom-light: #7c6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3438aa",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 237.966,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.17797,
    "h": 274
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3438AA

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

Preview Lab → · Contrast checker → · Palette generator →

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