#2B366B#2B366B

#2B366B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.093 H 272.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B366B
RGBrgb(43, 54, 107)
HSLhsl(230, 43%, 29%)
HSVhsv(230, 60%, 42%)
CMYKcmyk(59.8%, 49.5%, 0%, 58%)
CIE-LABlab(24.36, 12.97, -32.44)
CIE-LCHlch(24.36, 34.94, 291.79°)
OKLaboklab(35.28% 0.0033 -0.0925)
OKLCHoklch(35.28% 0.093 272)
XYZxyz(4.9684, 4.2131, 14.4585)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B366B #6B602B
analogous
#2B566B #2B366B #402B6B
triadic
#2B366B #6B2B36 #366B2B
tetradic
#2B366B #6B2B56 #6B602B #2B6B40
square
#2B366B #6B2B56 #6B602B #2B6B40
split-complementary
#2B366B #6B402B #566B2B
monochromatic
#090B16 #19203F #2B366B #3D4C97 #5667BB

Accessibility & contrast

On white

11.40
#2B366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B366B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B366B#FFFFFF#000000##FFFFFF
##2B366B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6D
Deuteranopia (green-blind)
#14376A
Tritanopia (blue-blind)
#04424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b366b;
/* rgb */ color: rgb(43, 54, 107);
/* oklch */ color: oklch(35.3% 0.093 272.0);
Tailwind
colors: {
  custom: {
    50: '#6a6c96',
    500: '#2b366b',
    950: '#000000',
  },
}
SCSS
$custom: #2b366b;
$custom-light: #6a6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2b366b",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 229.688,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3528,
    "c": 0.09258,
    "h": 272
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#2B366B
secondary
#9D9155
accent
#BD55D2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B366B

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

Preview Lab → · Contrast checker → · Palette generator →

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