#2B2E6F#2B2E6F

#2B2E6F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.110 H 276.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2B2E6F
RGBrgb(43, 46, 111)
HSLhsl(237, 44%, 30%)
HSVhsv(237, 61%, 44%)
CMYKcmyk(61.3%, 58.6%, 0%, 56.5%)
CIE-LABlab(22.36, 20.02, -38.25)
CIE-LCHlch(22.36, 43.18, 297.63°)
OKLaboklab(33.86% 0.013 -0.1097)
OKLCHoklch(33.86% 0.11 276.8)
XYZxyz(4.8416, 3.6149, 15.4785)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E6F #6F6C2B
analogous
#2B506F #2B2E6F #4A2B6F
triadic
#2B2E6F #6F2B2E #2E6F2B
tetradic
#2B2E6F #6F2B50 #6F6C2B #2B6F4A
square
#2B2E6F #6F2B50 #6F6C2B #2B6F4A
split-complementary
#2B2E6F #6F4A2B #506F2B
monochromatic
#090917 #1A1C43 #2B2E6F #3C409B #575BBE

Accessibility & contrast

On white

12.19
#2B2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B2E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E6F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E6F#FFFFFF#000000##FFFFFF
##2B2E6F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2e6f;
/* rgb */ color: rgb(43, 46, 111);
/* oklch */ color: oklch(33.9% 0.110 276.8);
Tailwind
colors: {
  custom: {
    50: '#6c6699',
    500: '#2b2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e6f;
$custom-light: #6c6699;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e6f",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 237.353,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33859,
    "c": 0.11047,
    "h": 276.8
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#2B2E6F
secondary
#A19E55
accent
#CE54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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