#3237B3#3237B3

#3237B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.191 H 272.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3237B3
RGBrgb(50, 55, 179)
HSLhsl(238, 56%, 45%)
HSVhsv(238, 72%, 70%)
CMYKcmyk(72.1%, 69.3%, 0%, 29.8%)
CIE-LABlab(31.03, 39.58, -66.05)
CIE-LCHlch(31.03, 77.00, 300.93°)
OKLaboklab(42.18% 0.0097 -0.191)
OKLCHoklch(42.18% 0.191 272.9)
XYZxyz(10.8155, 6.6641, 43.3554)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B3 #B3AE32
analogous
#3278B3 #3237B3 #6D32B3
triadic
#3237B3 #B33237 #37B332
tetradic
#3237B3 #B33278 #B3AE32 #32B36D
square
#3237B3 #B33278 #B3AE32 #32B36D
split-complementary
#3237B3 #B36D32 #78B332
monochromatic
#171A53 #252883 #3237B3 #5358CF #8386DC

Accessibility & contrast

On white

9.00
#3237B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3237B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237B3
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237B3#FFFFFF#000000##FFFFFF
##3237B31.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3237b3;
/* rgb */ color: rgb(50, 55, 179);
/* oklch */ color: oklch(42.2% 0.191 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ecb',
    500: '#3237b3',
    950: '#000000',
  },
}
SCSS
$custom: #3237b3;
$custom-light: #7d6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b3",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 237.674,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.19124,
    "h": 272.9
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#3237B3
secondary
#C6C37B
accent
#DA48E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3237B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva