#2B3FA7#2B3FA7

#2B3FA7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.168 H 269.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2B3FA7
RGBrgb(43, 63, 167)
HSLhsl(230, 59%, 41%)
HSVhsv(230, 74%, 65%)
CMYKcmyk(74.3%, 62.3%, 0%, 34.5%)
CIE-LABlab(31.48, 29.37, -58.16)
CIE-LCHlch(31.48, 65.15, 296.80°)
OKLaboklab(42.08% -0.002 -0.168)
OKLCHoklch(42.08% 0.168 269.3)
XYZxyz(9.7464, 6.8576, 37.3617)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FA7 #A7932B
analogous
#2B7DA7 #2B3FA7 #552BA7
triadic
#2B3FA7 #A72B3F #3FA72B
tetradic
#2B3FA7 #A72B7D #A7932B #2BA755
square
#2B3FA7 #A72B7D #A7932B #2BA755
split-complementary
#2B3FA7 #A7552B #7DA72B
monochromatic
#121A46 #1E2D76 #2B3FA7 #4158CE #7283DB

Accessibility & contrast

On white

8.85
#2B3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B3FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FA7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FA7#FFFFFF#000000##FFFFFF
##2B3FA71.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3fa7;
/* rgb */ color: rgb(43, 63, 167);
/* oklch */ color: oklch(42.1% 0.168 269.3);
Tailwind
colors: {
  custom: {
    50: '#7774c2',
    500: '#2b3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fa7;
$custom-light: #7774c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fa7",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 230.323,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.168,
    "h": 269.3
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#2B3FA7
secondary
#C2B46C
accent
#C946E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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