#2B2CA5#2B2CA5

#2B2CA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.187 H 273.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2B2CA5
RGBrgb(43, 44, 165)
HSLhsl(240, 59%, 41%)
HSVhsv(240, 74%, 65%)
CMYKcmyk(73.9%, 73.3%, 0%, 35.3%)
CIE-LABlab(26.82, 40.64, -64.60)
CIE-LCHlch(26.82, 76.32, 302.17°)
OKLaboklab(38.63% 0.0098 -0.1869)
OKLCHoklch(38.63% 0.187 273)
XYZxyz(8.6862, 5.0307, 36.1033)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CA5 #A5A42B
analogous
#2B69A5 #2B2CA5 #672BA5
triadic
#2B2CA5 #A52B2C #2CA52B
tetradic
#2B2CA5 #A52B69 #A5A42B #2BA567
square
#2B2CA5 #A52B69 #A5A42B #2BA567
split-complementary
#2B2CA5 #A5672B #69A52B
monochromatic
#121244 #1E1F74 #2B2CA5 #4041CD #7171DA

Accessibility & contrast

On white

10.47
#2B2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CA5
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CA5#FFFFFF#000000##FFFFFF
##2B2CA51.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b2ca5;
/* rgb */ color: rgb(43, 44, 165);
/* oklch */ color: oklch(38.6% 0.187 273.0);
Tailwind
colors: {
  custom: {
    50: '#7866c1',
    500: '#2b2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ca5;
$custom-light: #7866c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ca5",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 239.508,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.18715,
    "h": 273
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#2B2CA5
secondary
#C1C06B
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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