#2B2CAF#2B2CAF

#2B2CAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.200 H 272.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2B2CAF
RGBrgb(43, 44, 175)
HSLhsl(240, 61%, 43%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(75.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(27.87, 44.02, -68.89)
CIE-LCHlch(27.87, 81.75, 302.58°)
OKLaboklab(39.69% 0.0081 -0.1994)
OKLCHoklch(39.69% 0.2 272.3)
XYZxyz(9.6322, 5.4091, 41.0855)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CAF #AFAE2B
analogous
#2B6EAF #2B2CAF #6C2BAF
triadic
#2B2CAF #AF2B2C #2CAF2B
tetradic
#2B2CAF #AF2B6E #AFAE2B #2BAF6C
square
#2B2CAF #AF2B6E #AFAE2B #2BAF6C
split-complementary
#2B2CAF #AF6C2B #6EAF2B
monochromatic
#13134D #1F207E #2B2CAF #4647D1 #7778DE

Accessibility & contrast

On white

10.09
#2B2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CAF
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CAF#FFFFFF#000000##FFFFFF
##2B2CAF1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2caf;
/* rgb */ color: rgb(43, 44, 175);
/* oklch */ color: oklch(39.7% 0.200 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a67c8',
    500: '#2b2caf',
    950: '#000000',
  },
}
SCSS
$custom: #2b2caf;
$custom-light: #7a67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2caf",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 239.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.19954,
    "h": 272.3
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#2B2CAF
secondary
#C5C570
accent
#E244E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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