#2B2F6F#2B2F6F

#2B2F6F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.109 H 276.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2B2F6F
RGBrgb(43, 47, 111)
HSLhsl(236, 44%, 30%)
HSVhsv(236, 61%, 44%)
CMYKcmyk(61.3%, 57.7%, 0%, 56.5%)
CIE-LABlab(22.63, 19.33, -37.80)
CIE-LCHlch(22.63, 42.46, 297.08°)
OKLaboklab(34.07% 0.0119 -0.1084)
OKLCHoklch(34.07% 0.109 276.3)
XYZxyz(4.8811, 3.6940, 15.4916)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F6F #6F6B2B
analogous
#2B516F #2B2F6F #492B6F
triadic
#2B2F6F #6F2B2F #2F6F2B
tetradic
#2B2F6F #6F2B51 #6F6B2B #2B6F49
square
#2B2F6F #6F2B51 #6F6B2B #2B6F49
split-complementary
#2B2F6F #6F492B #516F2B
monochromatic
#090A17 #1A1C43 #2B2F6F #3C429B #575DBE

Accessibility & contrast

On white

12.08
#2B2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B2F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F6F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F6F#FFFFFF#000000##FFFFFF
##2B2F6F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2f6f;
/* rgb */ color: rgb(43, 47, 111);
/* oklch */ color: oklch(34.1% 0.109 276.3);
Tailwind
colors: {
  custom: {
    50: '#6c6799',
    500: '#2b2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f6f;
$custom-light: #6c6799;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f6f",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 236.471,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34066,
    "c": 0.10901,
    "h": 276.3
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#2B2F6F
secondary
#A19C55
accent
#CC54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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