#2B3FB6#2B3FB6

#2B3FB6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.188 H 269.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2B3FB6
RGBrgb(43, 63, 182)
HSLhsl(231, 62%, 44%)
HSVhsv(231, 76%, 71%)
CMYKcmyk(76.4%, 65.4%, 0%, 28.6%)
CIE-LABlab(32.80, 34.90, -64.94)
CIE-LCHlch(32.80, 73.72, 298.25°)
OKLaboklab(43.45% -0.0026 -0.1879)
OKLCHoklch(43.45% 0.188 269.2)
XYZxyz(11.2144, 7.4448, 45.0929)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FB6 #B6A22B
analogous
#2B85B6 #2B3FB6 #5D2BB6
triadic
#2B3FB6 #B62B3F #3FB62B
tetradic
#2B3FB6 #B62B85 #B6A22B #2BB65D
square
#2B3FB6 #B62B85 #B6A22B #2BB65D
split-complementary
#2B3FB6 #B65D2B #85B62B
monochromatic
#141D53 #1F2E84 #2B3FB6 #4A5ED4 #7B8AE0

Accessibility & contrast

On white

8.44
#2B3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B3FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FB6
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FB6#FFFFFF#000000##FFFFFF
##2B3FB61.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b3fb6;
/* rgb */ color: rgb(43, 63, 182);
/* oklch */ color: oklch(43.5% 0.188 269.2);
Tailwind
colors: {
  custom: {
    50: '#7a74cd',
    500: '#2b3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fb6;
$custom-light: #7a74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fb6",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 231.367,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43453,
    "c": 0.18789,
    "h": 269.2
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#2B3FB6
secondary
#C8BC75
accent
#CE43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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