#2B2C8F#2B2C8F

#2B2C8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.159 H 274.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2B2C8F
RGBrgb(43, 44, 143)
HSLhsl(239, 54%, 36%)
HSVhsv(239, 70%, 56%)
CMYKcmyk(69.9%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.63, 32.97, -54.74)
CIE-LCHlch(24.63, 63.90, 301.06°)
OKLaboklab(36.4% 0.013 -0.1581)
OKLCHoklch(36.4% 0.159 274.7)
XYZxyz(6.8532, 4.2975, 26.4496)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C8F #8F8E2B
analogous
#2B5E8F #2B2C8F #5C2B8F
triadic
#2B2C8F #8F2B2C #2C8F2B
tetradic
#2B2C8F #8F2B5E #8F8E2B #2B8F5C
square
#2B2C8F #8F2B5E #8F8E2B #2B8F5C
split-complementary
#2B2C8F #8F5C2B #5E8F2B
monochromatic
#0F0F31 #1D1E60 #2B2C8F #393ABE #6465D0

Accessibility & contrast

On white

11.29
#2B2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C8F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C8F#FFFFFF#000000##FFFFFF
##2B2C8F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b2c8f;
/* rgb */ color: rgb(43, 44, 143);
/* oklch */ color: oklch(36.4% 0.159 274.7);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2b2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c8f;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c8f",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 239.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.15864,
    "h": 274.7
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#2B2C8F
secondary
#B7B65F
accent
#DC4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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