#2938C2#2938C2

#2938C2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.4% C 0.211 H 269.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2938C2
RGBrgb(41, 56, 194)
HSLhsl(234, 65%, 46%)
HSVhsv(234, 79%, 76%)
CMYKcmyk(78.9%, 71.1%, 0%, 23.9%)
CIE-LABlab(32.24, 43.33, -72.93)
CIE-LCHlch(32.24, 84.83, 300.71°)
OKLaboklab(43.37% -0.002 -0.2112)
OKLCHoklch(43.37% 0.211 269.5)
XYZxyz(12.0629, 7.1934, 51.7812)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2938C2 #C2B329
analogous
#2984C2 #2938C2 #6729C2
triadic
#2938C2 #C22938 #38C229
tetradic
#2938C2 #C22984 #C2B329 #29C267
square
#2938C2 #C22984 #C2B329 #29C267
split-complementary
#2938C2 #C26729 #84C229
monochromatic
#141B5D #1E298F #2938C2 #4E5CDA #818BE4

Accessibility & contrast

On white

8.61
#2938C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2938C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2938C2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2938C2#FFFFFF#000000##FFFFFF
##2938C21.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0044C0
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2938c2;
/* rgb */ color: rgb(41, 56, 194);
/* oklch */ color: oklch(43.4% 0.211 269.5);
Tailwind
colors: {
  custom: {
    50: '#7d6fd6',
    500: '#2938c2',
    950: '#000000',
  },
}
SCSS
$custom: #2938c2;
$custom-light: #7d6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2938c2",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 234.118,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4337,
    "c": 0.21126,
    "h": 269.5
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#2938C2
secondary
#CDC57A
accent
#D840E8
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2938C2

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

Preview Lab → · Contrast checker → · Palette generator →

#2938C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva