#2938AC#2938AC

#2938AC is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.183 H 270.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2938AC
RGBrgb(41, 56, 172)
HSLhsl(233, 62%, 42%)
HSVhsv(233, 76%, 67%)
CMYKcmyk(76.2%, 67.4%, 0%, 32.5%)
CIE-LABlab(30.10, 35.53, -63.42)
CIE-LCHlch(30.10, 72.69, 299.26°)
OKLaboklab(41.18% 0.0002 -0.1835)
OKLCHoklch(41.18% 0.184 270.1)
XYZxyz(9.7725, 6.2773, 39.7183)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2938AC #AC9D29
analogous
#297AAC #2938AC #5C29AC
triadic
#2938AC #AC2938 #38AC29
tetradic
#2938AC #AC297A #AC9D29 #29AC5C
square
#2938AC #AC297A #AC9D29 #29AC5C
split-complementary
#2938AC #AC5C29 #7AAC29
monochromatic
#111849 #1D287B #2938AC #4151D2 #727EDD

Accessibility & contrast

On white

9.31
#2938AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2938AC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2938AC#FFFFFF#000000##FFFFFF
##2938AC1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2938ac;
/* rgb */ color: rgb(41, 56, 172);
/* oklch */ color: oklch(41.2% 0.183 270.1);
Tailwind
colors: {
  custom: {
    50: '#786fc6',
    500: '#2938ac',
    950: '#000000',
  },
}
SCSS
$custom: #2938ac;
$custom-light: #786fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2938ac",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 233.13,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.1835,
    "h": 270.1
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2938AC

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

Preview Lab → · Contrast checker → · Palette generator →

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