#2B3DA6#2B3DA6

#2B3DA6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.169 H 269.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2B3DA6
RGBrgb(43, 61, 166)
HSLhsl(231, 59%, 41%)
HSVhsv(231, 74%, 65%)
CMYKcmyk(74.1%, 63.3%, 0%, 34.9%)
CIE-LABlab(30.89, 30.32, -58.53)
CIE-LCHlch(30.89, 65.91, 297.38°)
OKLaboklab(41.61% -0.0006 -0.1691)
OKLCHoklch(41.61% 0.169 269.8)
XYZxyz(9.5456, 6.6033, 36.8405)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DA6 #A6942B
analogous
#2B7AA6 #2B3DA6 #572BA6
triadic
#2B3DA6 #A62B3D #3DA62B
tetradic
#2B3DA6 #A62B7A #A6942B #2BA657
square
#2B3DA6 #A62B7A #A6942B #2BA657
split-complementary
#2B3DA6 #A6572B #7AA62B
monochromatic
#121945 #1E2B75 #2B3DA6 #4155CE #7181DA

Accessibility & contrast

On white

9.05
#2B3DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B3DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DA6
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DA6#FFFFFF#000000##FFFFFF
##2B3DA61.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b3da6;
/* rgb */ color: rgb(43, 61, 166);
/* oklch */ color: oklch(41.6% 0.169 269.8);
Tailwind
colors: {
  custom: {
    50: '#7772c1',
    500: '#2b3da6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3da6;
$custom-light: #7772c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3da6",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 166
  },
  "hsl": {
    "h": 231.22,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41611,
    "c": 0.1691,
    "h": 269.8
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#2B3DA6
secondary
#C1B56B
accent
#CB46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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