#2942BC#2942BC

#2942BC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.193 H 268.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2942BC
RGBrgb(41, 66, 188)
HSLhsl(230, 64%, 45%)
HSVhsv(230, 78%, 74%)
CMYKcmyk(78.2%, 64.9%, 0%, 26.3%)
CIE-LABlab(33.98, 34.97, -66.55)
CIE-LCHlch(33.98, 75.18, 297.72°)
OKLaboklab(44.46% -0.0064 -0.1926)
OKLCHoklch(44.46% 0.193 268.1)
XYZxyz(11.9366, 7.9973, 48.4817)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2942BC #BCA329
analogous
#298BBC #2942BC #5A29BC
triadic
#2942BC #BC2942 #42BC29
tetradic
#2942BC #BC298B #BCA329 #29BC5A
square
#2942BC #BC298B #BCA329 #29BC5A
split-complementary
#2942BC #BC5A29 #8BBC29
monochromatic
#131F58 #1E308A #2942BC #4B63D8 #7D8EE3

Accessibility & contrast

On white

8.08
#2942BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2942BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2942BC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2942BC#FFFFFF#000000##FFFFFF
##2942BC1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2942bc;
/* rgb */ color: rgb(41, 66, 188);
/* oklch */ color: oklch(44.5% 0.193 268.1);
Tailwind
colors: {
  custom: {
    50: '#7b76d1',
    500: '#2942bc',
    950: '#000000',
  },
}
SCSS
$custom: #2942bc;
$custom-light: #7b76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2942bc",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 229.796,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44458,
    "c": 0.19272,
    "h": 268.1
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#2942BC
secondary
#CBBC76
accent
#CB41E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2942BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2942BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva