#2B3681#2B3681

#2B3681 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.126 H 272.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2B3681
RGBrgb(43, 54, 129)
HSLhsl(232, 50%, 34%)
HSVhsv(232, 67%, 51%)
CMYKcmyk(66.7%, 58.1%, 0%, 49.4%)
CIE-LABlab(25.97, 21.19, -43.83)
CIE-LCHlch(25.97, 48.68, 295.81°)
OKLaboklab(37% 0.0053 -0.126)
OKLCHoklch(37% 0.126 272.4)
XYZxyz(6.2766, 4.7364, 21.3481)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3681 #81762B
analogous
#2B6181 #2B3681 #4B2B81
triadic
#2B3681 #812B36 #36812B
tetradic
#2B3681 #812B61 #81762B #2B814B
square
#2B3681 #812B61 #81762B #2B814B
split-complementary
#2B3681 #814B2B #61812B
monochromatic
#0C1025 #1C2353 #2B3681 #3A49AF #5D6BC9

Accessibility & contrast

On white

10.78
#2B3681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B3681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3681
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3681#FFFFFF#000000##FFFFFF
##2B36811.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3681;
/* rgb */ color: rgb(43, 54, 129);
/* oklch */ color: oklch(37.0% 0.126 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f6ca6',
    500: '#2b3681',
    950: '#000000',
  },
}
SCSS
$custom: #2b3681;
$custom-light: #6f6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3681",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 129
  },
  "hsl": {
    "h": 232.326,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37003,
    "c": 0.12612,
    "h": 272.4
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#2B3681
secondary
#AFA459
accent
#C84EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B3681

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

Preview Lab → · Contrast checker → · Palette generator →

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