#2938AD#2938AD

#2938AD is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.185 H 270.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2938AD
RGBrgb(41, 56, 173)
HSLhsl(233, 62%, 42%)
HSVhsv(233, 76%, 68%)
CMYKcmyk(76.3%, 67.6%, 0%, 32.2%)
CIE-LABlab(30.20, 35.89, -63.86)
CIE-LCHlch(30.20, 73.25, 299.33°)
OKLaboklab(41.27% 0.0001 -0.1848)
OKLCHoklch(41.27% 0.185 270)
XYZxyz(9.8689, 6.3158, 40.2260)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2938AD #AD9E29
analogous
#297AAD #2938AD #5C29AD
triadic
#2938AD #AD2938 #38AD29
tetradic
#2938AD #AD297A #AD9E29 #29AD5C
square
#2938AD #AD297A #AD9E29 #29AD5C
split-complementary
#2938AD #AD5C29 #7AAD29
monochromatic
#12184A #1D287C #2938AD #4152D2 #737FDE

Accessibility & contrast

On white

9.28
#2938AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2938AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2938AD
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2938AD#FFFFFF#000000##FFFFFF
##2938AD1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2938ad;
/* rgb */ color: rgb(41, 56, 173);
/* oklch */ color: oklch(41.3% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#786fc7',
    500: '#2938ad',
    950: '#000000',
  },
}
SCSS
$custom: #2938ad;
$custom-light: #786fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2938ad",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 233.182,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.18479,
    "h": 270
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#2938AD
secondary
#C5BB6D
accent
#D243E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2938AD

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

Preview Lab → · Contrast checker → · Palette generator →

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