#2B3A92#2B3A92

#2B3A92 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.145 H 270.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2B3A92
RGBrgb(43, 58, 146)
HSLhsl(231, 54%, 37%)
HSVhsv(231, 71%, 57%)
CMYKcmyk(70.5%, 60.3%, 0%, 42.7%)
CIE-LABlab(28.42, 24.85, -50.40)
CIE-LCHlch(28.42, 56.19, 296.25°)
OKLaboklab(39.26% 0.002 -0.1453)
OKLCHoklch(39.26% 0.145 270.8)
XYZxyz(7.6959, 5.6143, 27.8666)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A92 #92832B
analogous
#2B6E92 #2B3A92 #502B92
triadic
#2B3A92 #922B3A #3A922B
tetradic
#2B3A92 #922B6E #92832B #2B9250
square
#2B3A92 #922B6E #92832B #2B9250
split-complementary
#2B3A92 #92502B #6E922B
monochromatic
#0F1433 #1D2763 #2B3A92 #394DC1 #6675D2

Accessibility & contrast

On white

9.89
#2B3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A92
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A92#FFFFFF#000000##FFFFFF
##2B3A921.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3a92;
/* rgb */ color: rgb(43, 58, 146);
/* oklch */ color: oklch(39.3% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#7270b3',
    500: '#2b3a92',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a92;
$custom-light: #7270b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a92",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 231.262,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39257,
    "c": 0.14529,
    "h": 270.8
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#2B3A92
secondary
#B8AB61
accent
#C84ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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