#3238AA#3238AA

#3238AA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.178 H 273.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3238AA
RGBrgb(50, 56, 170)
HSLhsl(237, 55%, 43%)
HSVhsv(237, 71%, 67%)
CMYKcmyk(70.6%, 67.1%, 0%, 33.3%)
CIE-LABlab(30.42, 35.83, -61.68)
CIE-LCHlch(30.42, 71.33, 300.15°)
OKLaboklab(41.48% 0.0101 -0.1782)
OKLCHoklch(41.48% 0.178 273.2)
XYZxyz(9.9828, 6.4078, 38.7331)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238AA #AAA432
analogous
#3274AA #3238AA #6832AA
triadic
#3238AA #AA3238 #38AA32
tetradic
#3238AA #AA3274 #AAA432 #32AA68
square
#3238AA #AA3274 #AAA432 #32AA68
split-complementary
#3238AA #AA6832 #74AA32
monochromatic
#16194B #24287B #3238AA #4E54CB #7D82D9

Accessibility & contrast

On white

9.20
#3238AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3238AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3238AA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3238AA#FFFFFF#000000##FFFFFF
##3238AA1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.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: #3238aa;
/* rgb */ color: rgb(50, 56, 170);
/* oklch */ color: oklch(41.5% 0.178 273.2);
Tailwind
colors: {
  custom: {
    50: '#7b6fc4',
    500: '#3238aa',
    950: '#000000',
  },
}
SCSS
$custom: #3238aa;
$custom-light: #7b6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3238aa",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 237,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.17849,
    "h": 273.2
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#3238AA
secondary
#C2BE76
accent
#D64ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3238AA

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

Preview Lab → · Contrast checker → · Palette generator →

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