#2B37B8#2B37B8

#2B37B8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.199 H 270.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2B37B8
RGBrgb(43, 55, 184)
HSLhsl(235, 62%, 45%)
HSVhsv(235, 77%, 72%)
CMYKcmyk(76.6%, 70.1%, 0%, 27.8%)
CIE-LABlab(31.13, 40.61, -68.87)
CIE-LCHlch(31.13, 79.96, 300.53°)
OKLaboklab(42.29% 0.0016 -0.1994)
OKLCHoklch(42.29% 0.199 270.5)
XYZxyz(11.0112, 6.7055, 46.0521)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37B8 #B8AC2B
analogous
#2B7DB8 #2B37B8 #662BB8
triadic
#2B37B8 #B82B37 #37B82B
tetradic
#2B37B8 #B82B7D #B8AC2B #2BB866
square
#2B37B8 #B82B7D #B8AC2B #2BB866
split-complementary
#2B37B8 #B8662B #7DB82B
monochromatic
#141955 #1F2886 #2B37B8 #4B57D5 #7D85E1

Accessibility & contrast

On white

8.97
#2B37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B37B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37B8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37B8#FFFFFF#000000##FFFFFF
##2B37B81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b37b8;
/* rgb */ color: rgb(43, 55, 184);
/* oklch */ color: oklch(42.3% 0.199 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c6ecf',
    500: '#2b37b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b37b8;
$custom-light: #7c6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37b8",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 234.894,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.1994,
    "h": 270.5
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#2B37B8
secondary
#C9C276
accent
#D743E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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