#2B438B#2B438B

#2B438B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.123 H 266.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2B438B
RGBrgb(43, 67, 139)
HSLhsl(225, 53%, 36%)
HSVhsv(225, 69%, 55%)
CMYKcmyk(69.1%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.38, 16.08, -42.91)
CIE-LCHlch(30.38, 45.83, 290.55°)
OKLaboklab(40.56% -0.0066 -0.1231)
OKLCHoklch(40.56% 0.123 266.9)
XYZxyz(7.6620, 6.3912, 25.2509)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B438B #8B732B
analogous
#2B738B #2B438B #432B8B
triadic
#2B438B #8B2B43 #438B2B
tetradic
#2B438B #8B2B73 #8B732B #2B8B43
square
#2B438B #8B2B73 #8B732B #2B8B43
split-complementary
#2B438B #8B432B #738B2B
monochromatic
#0E162E #1D2C5C #2B438B #395ABA #627DCE

Accessibility & contrast

On white

9.22
#2B438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B438B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B438B#FFFFFF#000000##FFFFFF
##2B438B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b438b;
/* rgb */ color: rgb(43, 67, 139);
/* oklch */ color: oklch(40.6% 0.123 266.9);
Tailwind
colors: {
  custom: {
    50: '#7076ad',
    500: '#2b438b',
    950: '#000000',
  },
}
SCSS
$custom: #2b438b;
$custom-light: #7076ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b438b",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 225,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.12331,
    "h": 266.9
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#2B438B
secondary
#B59F5D
accent
#B84CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B438B

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

Preview Lab → · Contrast checker → · Palette generator →

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