#2937A8#2937A8

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

Color values

HEX#2937A8
RGBrgb(41, 55, 168)
HSLhsl(233, 61%, 41%)
HSVhsv(233, 76%, 66%)
CMYKcmyk(75.6%, 67.3%, 0%, 34.1%)
CIE-LABlab(29.49, 34.71, -62.02)
CIE-LCHlch(29.49, 71.08, 299.23°)
OKLaboklab(40.61% 0.0011 -0.1794)
OKLCHoklch(40.61% 0.179 270.4)
XYZxyz(9.3461, 6.0299, 37.7095)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937A8 #A89A29
analogous
#2976A8 #2937A8 #5A29A8
triadic
#2937A8 #A82937 #37A829
tetradic
#2937A8 #A82976 #A89A29 #29A85A
square
#2937A8 #A82976 #A89A29 #29A85A
split-complementary
#2937A8 #A85A29 #76A829
monochromatic
#111746 #1D2777 #2937A8 #3E4ED0 #6F7BDC

Accessibility & contrast

On white

9.52
#2937A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2937A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937A8
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937A8#FFFFFF#000000##FFFFFF
##2937A81.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2937a8;
/* rgb */ color: rgb(41, 55, 168);
/* oklch */ color: oklch(40.6% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#776ec3',
    500: '#2937a8',
    950: '#000000',
  },
}
SCSS
$custom: #2937a8;
$custom-light: #776ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2937a8",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 233.386,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.17943,
    "h": 270.4
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#2937A8
secondary
#C3B96A
accent
#D244E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2937A8

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

Preview Lab → · Contrast checker → · Palette generator →

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