#2B305B#2B305B

#2B305B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.076 H 276.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2B305B
RGBrgb(43, 48, 91)
HSLhsl(234, 36%, 26%)
HSVhsv(234, 53%, 36%)
CMYKcmyk(52.7%, 47.3%, 0%, 64.3%)
CIE-LABlab(21.52, 11.35, -26.57)
CIE-LCHlch(21.52, 28.89, 293.14°)
OKLaboklab(32.77% 0.0084 -0.0753)
OKLCHoklch(32.77% 0.076 276.4)
XYZxyz(3.9410, 3.3826, 10.3407)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B305B #5B562B
analogous
#2B485B #2B305B #3E2B5B
triadic
#2B305B #5B2B30 #305B2B
tetradic
#2B305B #5B2B48 #5B562B #2B5B3E
square
#2B305B #5B2B48 #5B562B #2B5B3E
split-complementary
#2B305B #5B3E2B #485B2B
monochromatic
#0A0B15 #171A31 #2B305B #3F4685 #535CAE

Accessibility & contrast

On white

12.53
#2B305B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B305B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B305B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B305B#FFFFFF#000000##FFFFFF
##2B305B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F365D
Deuteranopia (green-blind)
#1A325A
Tritanopia (blue-blind)
#183941
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b305b;
/* rgb */ color: rgb(43, 48, 91);
/* oklch */ color: oklch(32.8% 0.076 276.4);
Tailwind
colors: {
  custom: {
    50: '#68688a',
    500: '#2b305b',
    950: '#000000',
  },
}
SCSS
$custom: #2b305b;
$custom-light: #68688a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b305b",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 233.75,
    "s": 35.821,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32771,
    "c": 0.07581,
    "h": 276.4
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#2B305B
secondary
#8D8755
accent
#C05CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2B305B

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

Preview Lab → · Contrast checker → · Palette generator →

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