#2B2D8F#2B2D8F

#2B2D8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.157 H 274.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2B2D8F
RGBrgb(43, 45, 143)
HSLhsl(239, 54%, 36%)
HSVhsv(239, 70%, 56%)
CMYKcmyk(69.9%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.87, 32.33, -54.35)
CIE-LCHlch(24.87, 63.24, 300.75°)
OKLaboklab(36.57% 0.0123 -0.157)
OKLCHoklch(36.57% 0.157 274.5)
XYZxyz(6.8909, 4.3729, 26.4622)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D8F #8F8D2B
analogous
#2B5F8F #2B2D8F #5B2B8F
triadic
#2B2D8F #8F2B2D #2D8F2B
tetradic
#2B2D8F #8F2B5F #8F8D2B #2B8F5B
square
#2B2D8F #8F2B5F #8F8D2B #2B8F5B
split-complementary
#2B2D8F #8F5B2B #5F8F2B
monochromatic
#0F0F31 #1D1E60 #2B2D8F #393CBE #6466D0

Accessibility & contrast

On white

11.20
#2B2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2D8F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D8F#FFFFFF#000000##FFFFFF
##2B2D8F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2d8f;
/* rgb */ color: rgb(43, 45, 143);
/* oklch */ color: oklch(36.6% 0.157 274.5);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2b2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d8f;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d8f",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 238.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.15745,
    "h": 274.5
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#2B2D8F
secondary
#B7B55F
accent
#DA4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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