#2B3FB8#2B3FB8

#2B3FB8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.190 H 269.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2B3FB8
RGBrgb(43, 63, 184)
HSLhsl(231, 62%, 45%)
HSVhsv(231, 77%, 72%)
CMYKcmyk(76.6%, 65.8%, 0%, 27.8%)
CIE-LABlab(32.98, 35.62, -65.83)
CIE-LCHlch(32.98, 74.85, 298.42°)
OKLaboklab(43.64% -0.0027 -0.1905)
OKLCHoklch(43.64% 0.19 269.2)
XYZxyz(11.4225, 7.5280, 46.1892)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3FB8 #B8A42B
analogous
#2B86B8 #2B3FB8 #5D2BB8
triadic
#2B3FB8 #B82B3F #3FB82B
tetradic
#2B3FB8 #B82B86 #B8A42B #2BB85D
square
#2B3FB8 #B82B86 #B8A42B #2BB85D
split-complementary
#2B3FB8 #B85D2B #86B82B
monochromatic
#141D55 #1F2E86 #2B3FB8 #4B5FD5 #7D8BE1

Accessibility & contrast

On white

8.38
#2B3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B3FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3FB8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3FB8#FFFFFF#000000##FFFFFF
##2B3FB81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b3fb8;
/* rgb */ color: rgb(43, 63, 184);
/* oklch */ color: oklch(43.6% 0.190 269.2);
Tailwind
colors: {
  custom: {
    50: '#7b74ce',
    500: '#2b3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b3fb8;
$custom-light: #7b74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3fb8",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 231.489,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.19048,
    "h": 269.2
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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