#2938B4#2938B4

#2938B4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.194 H 269.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2938B4
RGBrgb(41, 56, 180)
HSLhsl(234, 63%, 43%)
HSVhsv(234, 77%, 71%)
CMYKcmyk(77.2%, 68.9%, 0%, 29.4%)
CIE-LABlab(30.86, 38.40, -66.94)
CIE-LCHlch(30.86, 77.17, 299.84°)
OKLaboklab(41.96% -0.0005 -0.1938)
OKLCHoklch(41.96% 0.194 269.9)
XYZxyz(10.5640, 6.5939, 43.8872)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2938B4 #B4A529
analogous
#297DB4 #2938B4 #5F29B4
triadic
#2938B4 #B42938 #38B429
tetradic
#2938B4 #B4297D #B4A529 #29B45F
square
#2938B4 #B4297D #B4A529 #29B45F
split-complementary
#2938B4 #B45F29 #7DB429
monochromatic
#121950 #1E2882 #2938B4 #4555D5 #7783E0

Accessibility & contrast

On white

9.06
#2938B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2938B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2938B4
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2938B4#FFFFFF#000000##FFFFFF
##2938B41.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2938b4;
/* rgb */ color: rgb(41, 56, 180);
/* oklch */ color: oklch(42.0% 0.194 269.9);
Tailwind
colors: {
  custom: {
    50: '#7a6fcc',
    500: '#2938b4',
    950: '#000000',
  },
}
SCSS
$custom: #2938b4;
$custom-light: #7a6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2938b4",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 233.525,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.19377,
    "h": 269.9
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#2938B4
secondary
#C8BE71
accent
#D442E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2938B4

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

Preview Lab → · Contrast checker → · Palette generator →

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