#2B2E6D#2B2E6D

#2B2E6D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.107 H 276.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2B2E6D
RGBrgb(43, 46, 109)
HSLhsl(237, 43%, 30%)
HSVhsv(237, 61%, 43%)
CMYKcmyk(60.6%, 57.8%, 0%, 57.3%)
CIE-LABlab(22.20, 19.29, -37.21)
CIE-LCHlch(22.20, 41.91, 297.40°)
OKLaboklab(33.7% 0.0129 -0.1066)
OKLCHoklch(33.7% 0.107 276.9)
XYZxyz(4.7327, 3.5714, 14.9050)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E6D #6D6A2B
analogous
#2B4F6D #2B2E6D #492B6D
triadic
#2B2E6D #6D2B2E #2E6D2B
tetradic
#2B2E6D #6D2B4F #6D6A2B #2B6D49
square
#2B2E6D #6D2B4F #6D6A2B #2B6D49
split-complementary
#2B2E6D #6D492B #4F6D2B
monochromatic
#090916 #1A1B41 #2B2E6D #3C4199 #565BBC

Accessibility & contrast

On white

12.25
#2B2E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B2E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E6D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E6D#FFFFFF#000000##FFFFFF
##2B2E6D1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#033D48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2e6d;
/* rgb */ color: rgb(43, 46, 109);
/* oklch */ color: oklch(33.7% 0.107 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b6697',
    500: '#2b2e6d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e6d;
$custom-light: #6b6697;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e6d",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 237.273,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33695,
    "c": 0.10742,
    "h": 276.9
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#2B2E6D
secondary
#9F9C55
accent
#CD55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B2E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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