#3239AF#3239AF

#3239AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.184 H 272.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3239AF
RGBrgb(50, 57, 175)
HSLhsl(237, 56%, 44%)
HSVhsv(237, 71%, 69%)
CMYKcmyk(71.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(31.11, 36.96, -63.54)
CIE-LCHlch(31.11, 73.50, 300.18°)
OKLaboklab(42.13% 0.0089 -0.1836)
OKLCHoklch(42.13% 0.184 272.8)
XYZxyz(10.5138, 6.6985, 41.2880)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239AF #AFA832
analogous
#3278AF #3239AF #6A32AF
triadic
#3239AF #AF3239 #39AF32
tetradic
#3239AF #AF3278 #AFA832 #32AF6A
square
#3239AF #AF3278 #AFA832 #32AF6A
split-complementary
#3239AF #AF6A32 #78AF32
monochromatic
#171A50 #24297F #3239AF #5158CD #8186DB

Accessibility & contrast

On white

8.97
#3239AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3239AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239AF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239AF#FFFFFF#000000##FFFFFF
##3239AF1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3239af;
/* rgb */ color: rgb(50, 57, 175);
/* oklch */ color: oklch(42.1% 0.184 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c70c8',
    500: '#3239af',
    950: '#000000',
  },
}
SCSS
$custom: #3239af;
$custom-light: #7c70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3239af",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 236.64,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.18385,
    "h": 272.8
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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