#2939AF#2939AF

#2939AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.186 H 269.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2939AF
RGBrgb(41, 57, 175)
HSLhsl(233, 62%, 42%)
HSVhsv(233, 77%, 69%)
CMYKcmyk(76.6%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.62, 35.98, -64.36)
CIE-LCHlch(30.62, 73.73, 299.20°)
OKLaboklab(41.64% -0.0006 -0.1862)
OKLCHoklch(41.64% 0.186 269.8)
XYZxyz(10.1128, 6.4917, 41.2692)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2939AF #AF9F29
analogous
#297CAF #2939AF #5C29AF
triadic
#2939AF #AF2939 #39AF29
tetradic
#2939AF #AF297C #AF9F29 #29AF5C
square
#2939AF #AF297C #AF9F29 #29AF5C
split-complementary
#2939AF #AF5C29 #7CAF29
monochromatic
#12194C #1D297D #2939AF #4254D3 #7481DE

Accessibility & contrast

On white

9.14
#2939AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2939AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2939AF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2939AF#FFFFFF#000000##FFFFFF
##2939AF1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2939af;
/* rgb */ color: rgb(41, 57, 175);
/* oklch */ color: oklch(41.6% 0.186 269.8);
Tailwind
colors: {
  custom: {
    50: '#796fc8',
    500: '#2939af',
    950: '#000000',
  },
}
SCSS
$custom: #2939af;
$custom-light: #796fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2939af",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 232.836,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.18624,
    "h": 269.8
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#2939AF
secondary
#C6BB6E
accent
#D243E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2939AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2939AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva