#2B267E#2B267E

#2B267E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.143 H 278.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2B267E
RGBrgb(43, 38, 126)
HSLhsl(243, 54%, 32%)
HSVhsv(243, 70%, 49%)
CMYKcmyk(65.9%, 69.8%, 0%, 50.6%)
CIE-LABlab(21.60, 30.78, -49.06)
CIE-LCHlch(21.60, 57.92, 302.11°)
OKLaboklab(33.71% 0.0199 -0.1415)
OKLCHoklch(33.71% 0.143 278)
XYZxyz(5.4541, 3.4057, 20.1046)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B267E #797E26
analogous
#264D7E #2B267E #57267E
triadic
#2B267E #7E2B26 #267E2B
tetradic
#2B267E #7E264D #797E26 #267E57
square
#2B267E #7E264D #797E26 #267E57
split-complementary
#2B267E #7E5726 #4D7E26
monochromatic
#0B0A20 #1B184F #2B267E #3B34AD #5A53CB

Accessibility & contrast

On white

12.49
#2B267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B267E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B267E#FFFFFF#000000##FFFFFF
##2B267E1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b267e;
/* rgb */ color: rgb(43, 38, 126);
/* oklch */ color: oklch(33.7% 0.143 278.0);
Tailwind
colors: {
  custom: {
    50: '#6f61a4',
    500: '#2b267e',
    950: '#000000',
  },
}
SCSS
$custom: #2b267e;
$custom-light: #6f61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b267e",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 243.409,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.14288,
    "h": 278
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#2B267E
secondary
#AAB050
accent
#DD4BD5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B267E

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

Preview Lab → · Contrast checker → · Palette generator →

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