#3238AF#3238AF

#3238AF is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.185 H 273.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3238AF
RGBrgb(50, 56, 175)
HSLhsl(237, 56%, 44%)
HSVhsv(237, 71%, 69%)
CMYKcmyk(71.4%, 68%, 0%, 31.4%)
CIE-LABlab(30.88, 37.58, -63.91)
CIE-LCHlch(30.88, 74.14, 300.45°)
OKLaboklab(41.96% 0.0096 -0.1847)
OKLCHoklch(41.96% 0.185 273)
XYZxyz(10.4648, 6.6006, 41.2717)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3238AF #AFA932
analogous
#3277AF #3238AF #6B32AF
triadic
#3238AF #AF3238 #38AF32
tetradic
#3238AF #AF3277 #AFA932 #32AF6B
square
#3238AF #AF3277 #AFA932 #32AF6B
split-complementary
#3238AF #AF6B32 #77AF32
monochromatic
#171A50 #24297F #3238AF #5157CD #8185DB

Accessibility & contrast

On white

9.05
#3238AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3238AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3238AF#FFFFFF#000000##FFFFFF
##3238AF1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3238af;
/* rgb */ color: rgb(50, 56, 175);
/* oklch */ color: oklch(42.0% 0.185 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c6fc8',
    500: '#3238af',
    950: '#000000',
  },
}
SCSS
$custom: #3238af;
$custom-light: #7c6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3238af",
  "rgb": {
    "r": 50,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 237.12,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.18499,
    "h": 273
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#3238AF
secondary
#C4C079
accent
#D849DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3238AF

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

Preview Lab → · Contrast checker → · Palette generator →

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