#2B367B#2B367B

#2B367B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.117 H 272.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2B367B
RGBrgb(43, 54, 123)
HSLhsl(232, 48%, 33%)
HSVhsv(232, 65%, 48%)
CMYKcmyk(65%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.51, 18.94, -40.80)
CIE-LCHlch(25.51, 44.98, 294.91°)
OKLaboklab(36.51% 0.005 -0.1171)
OKLCHoklch(36.51% 0.117 272.4)
XYZxyz(5.8894, 4.5815, 19.3090)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B367B #7B702B
analogous
#2B5E7B #2B367B #482B7B
triadic
#2B367B #7B2B36 #367B2B
tetradic
#2B367B #7B2B5E #7B702B #2B7B48
square
#2B367B #7B2B5E #7B702B #2B7B48
split-complementary
#2B367B #7B482B #5E7B2B
monochromatic
#0B0E20 #1B224E #2B367B #3B4AA8 #5B69C6

Accessibility & contrast

On white

10.96
#2B367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B367B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B367B#FFFFFF#000000##FFFFFF
##2B367B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b367b;
/* rgb */ color: rgb(43, 54, 123);
/* oklch */ color: oklch(36.5% 0.117 272.4);
Tailwind
colors: {
  custom: {
    50: '#6d6ca2',
    500: '#2b367b',
    950: '#000000',
  },
}
SCSS
$custom: #2b367b;
$custom-light: #6d6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b367b",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 231.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.11721,
    "h": 272.4
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#2B367B
secondary
#ABA056
accent
#C550D8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B367B

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

Preview Lab → · Contrast checker → · Palette generator →

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