#2B2C90#2B2C90

#2B2C90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.160 H 274.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2B2C90
RGBrgb(43, 44, 144)
HSLhsl(239, 54%, 37%)
HSVhsv(239, 70%, 56%)
CMYKcmyk(70.1%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.73, 33.33, -55.20)
CIE-LCHlch(24.73, 64.48, 301.12°)
OKLaboklab(36.49% 0.0129 -0.1594)
OKLCHoklch(36.49% 0.16 274.6)
XYZxyz(6.9293, 4.3279, 26.8503)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C90 #908F2B
analogous
#2B5F90 #2B2C90 #5D2B90
triadic
#2B2C90 #902B2C #2C902B
tetradic
#2B2C90 #902B5F #908F2B #2B905D
square
#2B2C90 #902B5F #908F2B #2B905D
split-complementary
#2B2C90 #905D2B #5F902B
monochromatic
#0F0F32 #1D1E61 #2B2C90 #393ABF #6566D1

Accessibility & contrast

On white

11.26
#2B2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C90
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C90#FFFFFF#000000##FFFFFF
##2B2C901.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2c90;
/* rgb */ color: rgb(43, 44, 144);
/* oklch */ color: oklch(36.5% 0.160 274.6);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2b2c90',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c90;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c90",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 239.406,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.15997,
    "h": 274.6
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2B2C90
secondary
#B7B660
accent
#DC4ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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