#2B3DA5#2B3DA5

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

Color values

HEX#2B3DA5
RGBrgb(43, 61, 165)
HSLhsl(231, 59%, 41%)
HSVhsv(231, 74%, 65%)
CMYKcmyk(73.9%, 63%, 0%, 35.3%)
CIE-LABlab(30.80, 29.95, -58.07)
CIE-LCHlch(30.80, 65.33, 297.28°)
OKLaboklab(41.52% -0.0006 -0.1677)
OKLCHoklch(41.52% 0.168 269.8)
XYZxyz(9.4542, 6.5667, 36.3593)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DA5 #A5932B
analogous
#2B7AA5 #2B3DA5 #562BA5
triadic
#2B3DA5 #A52B3D #3DA52B
tetradic
#2B3DA5 #A52B7A #A5932B #2BA556
square
#2B3DA5 #A52B7A #A5932B #2BA556
split-complementary
#2B3DA5 #A5562B #7AA52B
monochromatic
#121944 #1E2B74 #2B3DA5 #4055CD #7180DA

Accessibility & contrast

On white

9.08
#2B3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B3DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DA5
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DA5#FFFFFF#000000##FFFFFF
##2B3DA51.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3da5;
/* rgb */ color: rgb(43, 61, 165);
/* oklch */ color: oklch(41.5% 0.168 269.8);
Tailwind
colors: {
  custom: {
    50: '#7672c1',
    500: '#2b3da5',
    950: '#000000',
  },
}
SCSS
$custom: #2b3da5;
$custom-light: #7672c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3da5",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 231.148,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.16775,
    "h": 269.8
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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