#2B3383#2B3383

#2B3383 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.133 H 273.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2B3383
RGBrgb(43, 51, 131)
HSLhsl(235, 51%, 34%)
HSVhsv(235, 67%, 51%)
CMYKcmyk(67.2%, 61.1%, 0%, 48.6%)
CIE-LABlab(25.32, 23.99, -46.14)
CIE-LCHlch(25.32, 52.00, 297.47°)
OKLaboklab(36.57% 0.0081 -0.1328)
OKLCHoklch(36.57% 0.133 273.5)
XYZxyz(6.2755, 4.5194, 22.0099)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3383 #837B2B
analogous
#2B5F83 #2B3383 #4F2B83
triadic
#2B3383 #832B33 #33832B
tetradic
#2B3383 #832B5F #837B2B #2B834F
square
#2B3383 #832B5F #837B2B #2B834F
split-complementary
#2B3383 #834F2B #5F832B
monochromatic
#0D0F27 #1C2155 #2B3383 #3A45B1 #5E68CA

Accessibility & contrast

On white

11.03
#2B3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3383
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3383#FFFFFF#000000##FFFFFF
##2B33831.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3383;
/* rgb */ color: rgb(43, 51, 131);
/* oklch */ color: oklch(36.6% 0.133 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f6aa8',
    500: '#2b3383',
    950: '#000000',
  },
}
SCSS
$custom: #2b3383;
$custom-light: #6f6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3383",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 234.545,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3657,
    "c": 0.13309,
    "h": 273.5
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#2B3383
secondary
#B0A85A
accent
#CD4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3383

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

Preview Lab → · Contrast checker → · Palette generator →

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