#2B37AE#2B37AE

#2B37AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.187 H 270.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2B37AE
RGBrgb(43, 55, 174)
HSLhsl(235, 60%, 43%)
HSVhsv(235, 75%, 68%)
CMYKcmyk(75.3%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.16, 37.08, -64.52)
CIE-LCHlch(30.16, 74.41, 299.89°)
OKLaboklab(41.3% 0.0026 -0.1867)
OKLCHoklch(41.3% 0.187 270.8)
XYZxyz(9.9998, 6.3009, 40.7254)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37AE #AEA22B
analogous
#2B78AE #2B37AE #612BAE
triadic
#2B37AE #AE2B37 #37AE2B
tetradic
#2B37AE #AE2B78 #AEA22B #2BAE61
square
#2B37AE #AE2B78 #AEA22B #2BAE61
split-complementary
#2B37AE #AE612B #78AE2B
monochromatic
#13184C #1F277D #2B37AE #4552D1 #7680DD

Accessibility & contrast

On white

9.29
#2B37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37AE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37AE#FFFFFF#000000##FFFFFF
##2B37AE1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b37ae;
/* rgb */ color: rgb(43, 55, 174);
/* oklch */ color: oklch(41.3% 0.187 270.8);
Tailwind
colors: {
  custom: {
    50: '#796ec7',
    500: '#2b37ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b37ae;
$custom-light: #796ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37ae",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 234.504,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.18668,
    "h": 270.8
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#2B37AE
secondary
#C5BD70
accent
#D544E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B37AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2B37AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva