#2B3EA2#2B3EA2

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

Color values

HEX#2B3EA2
RGBrgb(43, 62, 162)
HSLhsl(230, 58%, 40%)
HSVhsv(230, 73%, 64%)
CMYKcmyk(73.5%, 61.7%, 0%, 36.5%)
CIE-LABlab(30.80, 28.17, -56.26)
CIE-LCHlch(30.80, 62.92, 296.60°)
OKLaboklab(41.44% -0.0012 -0.1624)
OKLCHoklch(41.44% 0.162 269.6)
XYZxyz(9.2382, 6.5665, 34.9560)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EA2 #A28F2B
analogous
#2B7AA2 #2B3EA2 #532BA2
triadic
#2B3EA2 #A22B3E #3EA22B
tetradic
#2B3EA2 #A22B7A #A28F2B #2BA253
square
#2B3EA2 #A22B7A #A28F2B #2BA253
split-complementary
#2B3EA2 #A2532B #7AA22B
monochromatic
#111941 #1E2B72 #2B3EA2 #3E55CC #6F80D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3EA2#FFFFFF#000000##FFFFFF
##2B3EA21.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)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3ea2;
/* rgb */ color: rgb(43, 62, 162);
/* oklch */ color: oklch(41.4% 0.162 269.6);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2b3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ea2;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ea2",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 230.42,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4144,
    "c": 0.16244,
    "h": 269.6
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#2B3EA2
secondary
#C0B269
accent
#C947E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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