#2B3EA8#2B3EA8

#2B3EA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.171 H 269.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2B3EA8
RGBrgb(43, 62, 168)
HSLhsl(231, 59%, 41%)
HSVhsv(231, 74%, 66%)
CMYKcmyk(74.4%, 63.1%, 0%, 34.1%)
CIE-LABlab(31.31, 30.40, -59.03)
CIE-LCHlch(31.31, 66.40, 297.25°)
OKLaboklab(41.98% -0.0013 -0.1706)
OKLCHoklch(41.98% 0.171 269.5)
XYZxyz(9.7843, 6.7850, 37.8322)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3EA8 #A8952B
analogous
#2B7DA8 #2B3EA8 #572BA8
triadic
#2B3EA8 #A82B3E #3EA82B
tetradic
#2B3EA8 #A82B7D #A8952B #2BA857
square
#2B3EA8 #A82B7D #A8952B #2BA857
split-complementary
#2B3EA8 #A8572B #7DA82B
monochromatic
#121A47 #1F2C77 #2B3EA8 #4257CF #7282DB

Accessibility & contrast

On white

8.91
#2B3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B3EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3EA8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3EA8#FFFFFF#000000##FFFFFF
##2B3EA81.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3ea8;
/* rgb */ color: rgb(43, 62, 168);
/* oklch */ color: oklch(42.0% 0.171 269.5);
Tailwind
colors: {
  custom: {
    50: '#7773c3',
    500: '#2b3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2b3ea8;
$custom-light: #7773c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3ea8",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 230.88,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.17058,
    "h": 269.5
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#2B3EA8
secondary
#C2B56C
accent
#CB45E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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