#2937A7#2937A7

#2937A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.178 H 270.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2937A7
RGBrgb(41, 55, 167)
HSLhsl(233, 61%, 41%)
HSVhsv(233, 75%, 65%)
CMYKcmyk(75.4%, 67.1%, 0%, 34.5%)
CIE-LABlab(29.39, 34.35, -61.58)
CIE-LCHlch(29.39, 70.51, 299.15°)
OKLaboklab(40.52% 0.0012 -0.1781)
OKLCHoklch(40.52% 0.178 270.4)
XYZxyz(9.2533, 5.9928, 37.2208)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937A7 #A79929
analogous
#2976A7 #2937A7 #5A29A7
triadic
#2937A7 #A72937 #37A729
tetradic
#2937A7 #A72976 #A79929 #29A75A
square
#2937A7 #A72976 #A79929 #29A75A
split-complementary
#2937A7 #A75A29 #76A729
monochromatic
#111745 #1D2776 #2937A7 #3E4ED0 #6F7BDC

Accessibility & contrast

On white

9.55
#2937A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2937A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937A7
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937A7#FFFFFF#000000##FFFFFF
##2937A71.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2937a7;
/* rgb */ color: rgb(41, 55, 167);
/* oklch */ color: oklch(40.5% 0.178 270.4);
Tailwind
colors: {
  custom: {
    50: '#776ec2',
    500: '#2937a7',
    950: '#000000',
  },
}
SCSS
$custom: #2937a7;
$custom-light: #776ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2937a7",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 233.333,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.17812,
    "h": 270.4
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#2937A7
secondary
#C2B969
accent
#D244E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2937A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2937A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva