#2B366C#2B366C

#2B366C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.094 H 272.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2B366C
RGBrgb(43, 54, 108)
HSLhsl(230, 43%, 30%)
HSVhsv(230, 60%, 42%)
CMYKcmyk(60.2%, 50%, 0%, 57.6%)
CIE-LABlab(24.43, 13.34, -32.98)
CIE-LCHlch(24.43, 35.57, 292.02°)
OKLaboklab(35.35% 0.0035 -0.0941)
OKLCHoklch(35.35% 0.094 272.1)
XYZxyz(5.0213, 4.2343, 14.7371)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B366C #6C612B
analogous
#2B576C #2B366C #412B6C
triadic
#2B366C #6C2B36 #366C2B
tetradic
#2B366C #6C2B57 #6C612B #2B6C41
square
#2B366C #6C2B57 #6C612B #2B6C41
split-complementary
#2B366C #6C412B #576C2B
monochromatic
#090B16 #1A2040 #2B366C #3C4C98 #5667BC

Accessibility & contrast

On white

11.37
#2B366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B366C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B366C#FFFFFF#000000##FFFFFF
##2B366C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#13376B
Tritanopia (blue-blind)
#02424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b366c;
/* rgb */ color: rgb(43, 54, 108);
/* oklch */ color: oklch(35.4% 0.094 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a6c96',
    500: '#2b366c',
    950: '#000000',
  },
}
SCSS
$custom: #2b366c;
$custom-light: #6a6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2b366c",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 229.846,
    "s": 43.046,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.09415,
    "h": 272.1
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#2B366C
secondary
#9E9255
accent
#BE55D3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B366C

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

Preview Lab → · Contrast checker → · Palette generator →

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