#2B3A7E#2B3A7E

#2B3A7E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.116 H 270.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2B3A7E
RGBrgb(43, 58, 126)
HSLhsl(229, 49%, 33%)
HSVhsv(229, 66%, 49%)
CMYKcmyk(65.9%, 54%, 0%, 50.6%)
CIE-LABlab(26.86, 17.31, -40.50)
CIE-LCHlch(26.86, 44.04, 293.15°)
OKLaboklab(37.6% 0.0011 -0.1162)
OKLCHoklch(37.6% 0.116 270.5)
XYZxyz(6.2739, 5.0455, 20.3779)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A7E #7E6F2B
analogous
#2B637E #2B3A7E #462B7E
triadic
#2B3A7E #7E2B3A #3A7E2B
tetradic
#2B3A7E #7E2B63 #7E6F2B #2B7E46
square
#2B3A7E #7E2B63 #7E6F2B #2B7E46
split-complementary
#2B3A7E #7E462B #637E2B
monochromatic
#0C1023 #1B2550 #2B3A7E #3B4FAC #5C6FC7

Accessibility & contrast

On white

10.45
#2B3A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B3A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A7E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A7E#FFFFFF#000000##FFFFFF
##2B3A7E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3a7e;
/* rgb */ color: rgb(43, 58, 126);
/* oklch */ color: oklch(37.6% 0.116 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e6fa4',
    500: '#2b3a7e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a7e;
$custom-light: #6e6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a7e",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 229.157,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37603,
    "c": 0.11616,
    "h": 270.5
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#2B3A7E
secondary
#AD9E58
accent
#C04FD9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B3A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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