#3238AB#3238AB

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

Color values

HEX#3238AB
RGBrgb(50, 56, 171)
HSLhsl(237, 55%, 43%)
HSVhsv(237, 71%, 67%)
CMYKcmyk(70.8%, 67.3%, 0%, 32.9%)
CIE-LABlab(30.51, 36.18, -62.13)
CIE-LCHlch(30.51, 71.89, 300.21°)
OKLaboklab(41.58% 0.01 -0.1795)
OKLCHoklch(41.58% 0.18 273.2)
XYZxyz(10.0778, 6.4458, 39.2332)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238AB #ABA532
analogous
#3274AB #3238AB #6832AB
triadic
#3238AB #AB3238 #38AB32
tetradic
#3238AB #AB3274 #ABA532 #32AB68
square
#3238AB #AB3274 #ABA532 #32AB68
split-complementary
#3238AB #AB6832 #74AB32
monochromatic
#16194C #24287C #3238AB #4F55CB #7E83D9

Accessibility & contrast

On white

9.17
#3238AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3238AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3238AB#FFFFFF#000000##FFFFFF
##3238AB1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3238ab;
/* rgb */ color: rgb(50, 56, 171);
/* oklch */ color: oklch(41.6% 0.180 273.2);
Tailwind
colors: {
  custom: {
    50: '#7b6fc5',
    500: '#3238ab',
    950: '#000000',
  },
}
SCSS
$custom: #3238ab;
$custom-light: #7b6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3238ab",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 237.025,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.1798,
    "h": 273.2
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#3238AB
secondary
#C2BE77
accent
#D74ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3238AB

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

Preview Lab → · Contrast checker → · Palette generator →

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