#2B2D9F#2B2D9F

#2B2D9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.178 H 273.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2D9F
RGBrgb(43, 45, 159)
HSLhsl(239, 57%, 40%)
HSVhsv(239, 73%, 62%)
CMYKcmyk(73%, 71.7%, 0%, 37.6%)
CIE-LABlab(26.43, 37.97, -61.61)
CIE-LCHlch(26.43, 72.37, 301.65°)
OKLaboklab(38.17% 0.0102 -0.1782)
OKLCHoklch(38.17% 0.178 273.3)
XYZxyz(8.1906, 4.8928, 33.3069)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D9F #9F9D2B
analogous
#2B679F #2B2D9F #632B9F
triadic
#2B2D9F #9F2B2D #2D9F2B
tetradic
#2B2D9F #9F2B67 #9F9D2B #2B9F63
square
#2B2D9F #9F2B67 #9F9D2B #2B9F63
split-complementary
#2B2D9F #9F632B #679F2B
monochromatic
#11123F #1E1F6F #2B2D9F #3D3FCA #6D6FD7

Accessibility & contrast

On white

10.61
#2B2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D9F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D9F#FFFFFF#000000##FFFFFF
##2B2D9F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2d9f;
/* rgb */ color: rgb(43, 45, 159);
/* oklch */ color: oklch(38.2% 0.178 273.3);
Tailwind
colors: {
  custom: {
    50: '#7667bc',
    500: '#2b2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d9f;
$custom-light: #7667bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d9f",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 238.966,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.17847,
    "h": 273.3
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#2B2D9F
secondary
#BEBD67
accent
#DE47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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