#2B3DA2#2B3DA2

#2B3DA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.164 H 269.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2B3DA2
RGBrgb(43, 61, 162)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(73.5%, 62.3%, 0%, 36.5%)
CIE-LABlab(30.54, 28.83, -56.68)
CIE-LCHlch(30.54, 63.59, 296.96°)
OKLaboklab(41.25% -0.0005 -0.1637)
OKLCHoklch(41.25% 0.164 269.8)
XYZxyz(9.1844, 6.4588, 34.9380)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DA2 #A2902B
analogous
#2B79A2 #2B3DA2 #542BA2
triadic
#2B3DA2 #A22B3D #3DA22B
tetradic
#2B3DA2 #A22B79 #A2902B #2BA254
square
#2B3DA2 #A22B79 #A2902B #2BA254
split-complementary
#2B3DA2 #A2542B #79A22B
monochromatic
#111941 #1E2B72 #2B3DA2 #3E54CC #6F7FD9

Accessibility & contrast

On white

9.16
#2B3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DA2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DA2#FFFFFF#000000##FFFFFF
##2B3DA21.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3da2;
/* rgb */ color: rgb(43, 61, 162);
/* oklch */ color: oklch(41.3% 0.164 269.8);
Tailwind
colors: {
  custom: {
    50: '#7672be',
    500: '#2b3da2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3da2;
$custom-light: #7672be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3da2",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 230.924,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.16368,
    "h": 269.8
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#2B3DA2
secondary
#C0B369
accent
#CA47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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