#2B46A8#2B46A8

#2B46A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.161 H 267.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2B46A8
RGBrgb(43, 70, 168)
HSLhsl(227, 59%, 41%)
HSVhsv(227, 74%, 66%)
CMYKcmyk(74.4%, 58.3%, 0%, 34.1%)
CIE-LABlab(33.39, 25.11, -55.64)
CIE-LCHlch(33.39, 61.04, 294.29°)
OKLaboklab(43.53% -0.0071 -0.1605)
OKLCHoklch(43.53% 0.161 267.5)
XYZxyz(10.2518, 7.7200, 37.9880)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A8 #A88D2B
analogous
#2B85A8 #2B46A8 #4F2BA8
triadic
#2B46A8 #A82B46 #46A82B
tetradic
#2B46A8 #A82B85 #A88D2B #2BA84F
square
#2B46A8 #A82B85 #A88D2B #2BA84F
split-complementary
#2B46A8 #A84F2B #85A82B
monochromatic
#121D47 #1F3277 #2B46A8 #4260CF #7289DB

Accessibility & contrast

On white

8.25
#2B46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B46A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A8#FFFFFF#000000##FFFFFF
##2B46A81.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b46a8;
/* rgb */ color: rgb(43, 70, 168);
/* oklch */ color: oklch(43.5% 0.161 267.5);
Tailwind
colors: {
  custom: {
    50: '#7679c3',
    500: '#2b46a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a8;
$custom-light: #7679c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a8",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 227.04,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.16067,
    "h": 267.5
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#2B46A8
secondary
#C2B06C
accent
#C145E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B46A8

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

Preview Lab → · Contrast checker → · Palette generator →

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