#2B3DA3#2B3DA3

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

Color values

HEX#2B3DA3
RGBrgb(43, 61, 163)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 74%, 64%)
CMYKcmyk(73.6%, 62.6%, 0%, 36.1%)
CIE-LABlab(30.63, 29.20, -57.14)
CIE-LCHlch(30.63, 64.17, 297.07°)
OKLaboklab(41.34% -0.0005 -0.165)
OKLCHoklch(41.34% 0.165 269.8)
XYZxyz(9.2736, 6.4945, 35.4081)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DA3 #A3912B
analogous
#2B79A3 #2B3DA3 #552BA3
triadic
#2B3DA3 #A32B3D #3DA32B
tetradic
#2B3DA3 #A32B79 #A3912B #2BA355
square
#2B3DA3 #A32B79 #A3912B #2BA355
split-complementary
#2B3DA3 #A3552B #79A32B
monochromatic
#111942 #1E2B73 #2B3DA3 #3F54CC #6F7FD9

Accessibility & contrast

On white

9.13
#2B3DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B3DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DA3
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DA3#FFFFFF#000000##FFFFFF
##2B3DA31.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3da3;
/* rgb */ color: rgb(43, 61, 163);
/* oklch */ color: oklch(41.3% 0.165 269.8);
Tailwind
colors: {
  custom: {
    50: '#7672bf',
    500: '#2b3da3',
    950: '#000000',
  },
}
SCSS
$custom: #2b3da3;
$custom-light: #7672bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3da3",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 231,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.16504,
    "h": 269.8
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#2B3DA3
secondary
#C0B36A
accent
#CA46E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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