#2B3F7D#2B3F7D

#2B3F7D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.108 H 267.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2B3F7D
RGBrgb(43, 63, 125)
HSLhsl(225, 49%, 33%)
HSVhsv(225, 66%, 49%)
CMYKcmyk(65.6%, 49.6%, 0%, 51%)
CIE-LABlab(28.24, 13.49, -37.65)
CIE-LCHlch(28.24, 39.99, 289.72°)
OKLaboklab(38.63% -0.0043 -0.1077)
OKLCHoklch(38.63% 0.108 267.7)
XYZxyz(6.4742, 5.5487, 20.1279)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F7D #7D692B
analogous
#2B687D #2B3F7D #402B7D
triadic
#2B3F7D #7D2B3F #3F7D2B
tetradic
#2B3F7D #7D2B68 #7D692B #2B7D40
square
#2B3F7D #7D2B68 #7D692B #2B7D40
split-complementary
#2B3F7D #7D402B #687D2B
monochromatic
#0C1122 #1B284F #2B3F7D #3B56AB #5C76C7

Accessibility & contrast

On white

9.95
#2B3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B3F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F7D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F7D#FFFFFF#000000##FFFFFF
##2B3F7D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F477F
Deuteranopia (green-blind)
#0F3F7C
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3f7d;
/* rgb */ color: rgb(43, 63, 125);
/* oklch */ color: oklch(38.6% 0.108 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d73a3',
    500: '#2b3f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f7d;
$custom-light: #6d73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f7d",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 225.366,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38627,
    "c": 0.1078,
    "h": 267.7
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#2B3F7D
secondary
#AD9857
accent
#B74FD8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B3F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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