#2B2DAF#2B2DAF

#2B2DAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.199 H 272.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2B2DAF
RGBrgb(43, 45, 175)
HSLhsl(239, 61%, 43%)
HSVhsv(239, 75%, 69%)
CMYKcmyk(75.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(28.07, 43.45, -68.55)
CIE-LCHlch(28.07, 81.16, 302.37°)
OKLaboklab(39.83% 0.0076 -0.1984)
OKLCHoklch(39.83% 0.199 272.2)
XYZxyz(9.6699, 5.4845, 41.0981)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DAF #AFAD2B
analogous
#2B6FAF #2B2DAF #6B2BAF
triadic
#2B2DAF #AF2B2D #2DAF2B
tetradic
#2B2DAF #AF2B6F #AFAD2B #2BAF6B
square
#2B2DAF #AF2B6F #AFAD2B #2BAF6B
split-complementary
#2B2DAF #AF6B2B #6FAF2B
monochromatic
#13144D #1F207E #2B2DAF #4648D1 #7778DE

Accessibility & contrast

On white

10.01
#2B2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DAF
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DAF#FFFFFF#000000##FFFFFF
##2B2DAF1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2daf;
/* rgb */ color: rgb(43, 45, 175);
/* oklch */ color: oklch(39.8% 0.199 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a67c8',
    500: '#2b2daf',
    950: '#000000',
  },
}
SCSS
$custom: #2b2daf;
$custom-light: #7a67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2daf",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 239.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.19856,
    "h": 272.2
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#2B2DAF
secondary
#C5C470
accent
#E144E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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