#3237CB#3237CB

#3237CB is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.221 H 271.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3237CB
RGBrgb(50, 55, 203)
HSLhsl(238, 60%, 50%)
HSVhsv(238, 75%, 80%)
CMYKcmyk(75.4%, 72.9%, 0%, 20.4%)
CIE-LABlab(33.39, 47.69, -76.28)
CIE-LCHlch(33.39, 89.96, 302.02°)
OKLaboklab(44.59% 0.0064 -0.2208)
OKLCHoklch(44.59% 0.221 271.6)
XYZxyz(13.4574, 7.7208, 57.2694)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237CB #CBC632
analogous
#3284CB #3237CB #7932CB
triadic
#3237CB #CB3237 #37CB32
tetradic
#3237CB #CB3284 #CBC632 #32CB79
square
#3237CB #CB3284 #CBC632 #32CB79
split-complementary
#3237CB #CB7932 #84CB32
monochromatic
#1A1C69 #262A9A #3237CB #6266D8 #9396E4

Accessibility & contrast

On white

8.25
#3237CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3237CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237CB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237CB#FFFFFF#000000##FFFFFF
##3237CB1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CF
Deuteranopia (green-blind)
#0047C8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3237cb;
/* rgb */ color: rgb(50, 55, 203);
/* oklch */ color: oklch(44.6% 0.221 271.6);
Tailwind
colors: {
  custom: {
    50: '#826fdc',
    500: '#3237cb',
    950: '#000000',
  },
}
SCSS
$custom: #3237cb;
$custom-light: #826fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3237cb",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 238.039,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.2209,
    "h": 271.6
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#3237CB
secondary
#CFCD89
accent
#DE44E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3237CB

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

Preview Lab → · Contrast checker → · Palette generator →

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