#2B3166#2B3166

#2B3166 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.092 H 275.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2B3166
RGBrgb(43, 49, 102)
HSLhsl(234, 41%, 28%)
HSVhsv(234, 58%, 40%)
CMYKcmyk(57.8%, 52%, 0%, 60%)
CIE-LABlab(22.55, 14.63, -32.12)
CIE-LCHlch(22.55, 35.30, 294.48°)
OKLaboklab(33.79% 0.0088 -0.0916)
OKLCHoklch(33.79% 0.092 275.5)
XYZxyz(4.4921, 3.6692, 13.0393)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3166 #66602B
analogous
#2B4E66 #2B3166 #422B66
triadic
#2B3166 #662B31 #31662B
tetradic
#2B3166 #662B4E #66602B #2B6642
square
#2B3166 #662B4E #66602B #2B6642
split-complementary
#2B3166 #66422B #4E662B
monochromatic
#090A16 #191C3B #2B3166 #3D4691 #545EB7

Accessibility & contrast

On white

12.11
#2B3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3166
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3166#FFFFFF#000000##FFFFFF
##2B31661.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173868
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#0E3D46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b3166;
/* rgb */ color: rgb(43, 49, 102);
/* oklch */ color: oklch(33.8% 0.092 275.5);
Tailwind
colors: {
  custom: {
    50: '#6a6892',
    500: '#2b3166',
    950: '#000000',
  },
}
SCSS
$custom: #2b3166;
$custom-light: #6a6892;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3166",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 233.898,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.09206,
    "h": 275.5
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#2B3166
secondary
#989155
accent
#C457D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B3166

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

Preview Lab → · Contrast checker → · Palette generator →

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