#2B3F71#2B3F71

#2B3F71 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.089 H 265.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2B3F71
RGBrgb(43, 63, 113)
HSLhsl(223, 45%, 31%)
HSVhsv(223, 62%, 44%)
CMYKcmyk(61.9%, 44.2%, 0%, 55.7%)
CIE-LABlab(27.46, 8.97, -31.33)
CIE-LCHlch(27.46, 32.59, 285.99°)
OKLaboklab(37.78% -0.0064 -0.0891)
OKLCHoklch(37.78% 0.089 265.9)
XYZxyz(5.7534, 5.2604, 16.3317)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F71 #715D2B
analogous
#2B6271 #2B3F71 #3A2B71
triadic
#2B3F71 #712B3F #3F712B
tetradic
#2B3F71 #712B62 #715D2B #2B713A
square
#2B3F71 #712B62 #715D2B #2B713A
split-complementary
#2B3F71 #713A2B #62712B
monochromatic
#090E18 #1A2645 #2B3F71 #3C589D #5775BF

Accessibility & contrast

On white

10.23
#2B3F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B3F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F71
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F71#FFFFFF#000000##FFFFFF
##2B3F711.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#1F3E70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3f71;
/* rgb */ color: rgb(43, 63, 113);
/* oklch */ color: oklch(37.8% 0.089 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b739a',
    500: '#2b3f71',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f71;
$custom-light: #6b739a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f71",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 222.857,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.08936,
    "h": 265.9
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#2B3F71
secondary
#A38D55
accent
#B053D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B3F71

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

Preview Lab → · Contrast checker → · Palette generator →

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