#2B46A9#2B46A9

#2B46A9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.162 H 267.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2B46A9
RGBrgb(43, 70, 169)
HSLhsl(227, 59%, 42%)
HSVhsv(227, 75%, 66%)
CMYKcmyk(74.6%, 58.6%, 0%, 33.7%)
CIE-LABlab(33.47, 25.49, -56.11)
CIE-LCHlch(33.47, 61.62, 294.43°)
OKLaboklab(43.61% -0.007 -0.1619)
OKLCHoklch(43.61% 0.162 267.5)
XYZxyz(10.3454, 7.7574, 38.4805)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B46A9 #A98E2B
analogous
#2B85A9 #2B46A9 #4F2BA9
triadic
#2B46A9 #A92B46 #46A92B
tetradic
#2B46A9 #A92B85 #A98E2B #2BA94F
square
#2B46A9 #A92B85 #A98E2B #2BA94F
split-complementary
#2B46A9 #A94F2B #85A92B
monochromatic
#121E47 #1F3278 #2B46A9 #4260CF #7389DB

Accessibility & contrast

On white

8.23
#2B46A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B46A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B46A9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B46A9#FFFFFF#000000##FFFFFF
##2B46A91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b46a9;
/* rgb */ color: rgb(43, 70, 169);
/* oklch */ color: oklch(43.6% 0.162 267.5);
Tailwind
colors: {
  custom: {
    50: '#7779c3',
    500: '#2b46a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b46a9;
$custom-light: #7779c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b46a9",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 169
  },
  "hsl": {
    "h": 227.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.16204,
    "h": 267.5
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#2B46A9
secondary
#C3B06D
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B46A9

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

Preview Lab → · Contrast checker → · Palette generator →

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