#2B2C8E#2B2C8E

#2B2C8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.157 H 274.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2B2C8E
RGBrgb(43, 44, 142)
HSLhsl(239, 54%, 36%)
HSVhsv(239, 70%, 56%)
CMYKcmyk(69.7%, 69%, 0%, 44.3%)
CIE-LABlab(24.54, 32.62, -54.27)
CIE-LCHlch(24.54, 63.32, 301.00°)
OKLaboklab(36.3% 0.0132 -0.1567)
OKLCHoklch(36.3% 0.157 274.8)
XYZxyz(6.7778, 4.2673, 26.0524)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C8E #8E8D2B
analogous
#2B5E8E #2B2C8E #5C2B8E
triadic
#2B2C8E #8E2B2C #2C8E2B
tetradic
#2B2C8E #8E2B5E #8E8D2B #2B8E5C
square
#2B2C8E #8E2B5E #8E8D2B #2B8E5C
split-complementary
#2B2C8E #8E5C2B #5E8E2B
monochromatic
#0F0F30 #1D1D5F #2B2C8E #393BBD #6365D0

Accessibility & contrast

On white

11.33
#2B2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C8E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C8E#FFFFFF#000000##FFFFFF
##2B2C8E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2c8e;
/* rgb */ color: rgb(43, 44, 142);
/* oklch */ color: oklch(36.3% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#7366b0',
    500: '#2b2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c8e;
$custom-light: #7366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c8e",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 239.394,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36298,
    "c": 0.1573,
    "h": 274.8
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#2B2C8E
secondary
#B6B55F
accent
#DB4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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