#2B3CA2#2B3CA2

#2B3CA2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.165 H 270.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2B3CA2
RGBrgb(43, 60, 162)
HSLhsl(231, 58%, 40%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(73.5%, 63%, 0%, 36.5%)
CIE-LABlab(30.29, 29.49, -57.10)
CIE-LCHlch(30.29, 64.26, 297.32°)
OKLaboklab(41.06% 0.0002 -0.1649)
OKLCHoklch(41.06% 0.165 270.1)
XYZxyz(9.1315, 6.3530, 34.9204)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CA2 #A2912B
analogous
#2B77A2 #2B3CA2 #562BA2
triadic
#2B3CA2 #A22B3C #3CA22B
tetradic
#2B3CA2 #A22B77 #A2912B #2BA256
square
#2B3CA2 #A22B77 #A2912B #2BA256
split-complementary
#2B3CA2 #A2562B #77A22B
monochromatic
#111841 #1E2A72 #2B3CA2 #3E53CC #6F7ED9

Accessibility & contrast

On white

9.25
#2B3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CA2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CA2#FFFFFF#000000##FFFFFF
##2B3CA21.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3ca2;
/* rgb */ color: rgb(43, 60, 162);
/* oklch */ color: oklch(41.1% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#7671be',
    500: '#2b3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ca2;
$custom-light: #7671be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ca2",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 231.429,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.16492,
    "h": 270.1
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#2B3CA2
secondary
#C0B369
accent
#CB47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2B3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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