#2B438A#2B438A

#2B438A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.122 H 266.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2B438A
RGBrgb(43, 67, 138)
HSLhsl(225, 52%, 35%)
HSVhsv(225, 69%, 54%)
CMYKcmyk(68.8%, 51.4%, 0%, 45.9%)
CIE-LABlab(30.31, 15.70, -42.41)
CIE-LCHlch(30.31, 45.22, 290.32°)
OKLaboklab(40.49% -0.0067 -0.1216)
OKLCHoklch(40.49% 0.122 266.8)
XYZxyz(7.5893, 6.3622, 24.8679)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B438A #8A722B
analogous
#2B728A #2B438A #422B8A
triadic
#2B438A #8A2B43 #438A2B
tetradic
#2B438A #8A2B72 #8A722B #2B8A42
square
#2B438A #8A2B72 #8A722B #2B8A42
split-complementary
#2B438A #8A422B #728A2B
monochromatic
#0E162D #1C2C5B #2B438A #3A5AB9 #617DCE

Accessibility & contrast

On white

9.24
#2B438A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B438A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B438A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B438A#FFFFFF#000000##FFFFFF
##2B438A1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b438a;
/* rgb */ color: rgb(43, 67, 138);
/* oklch */ color: oklch(40.5% 0.122 266.8);
Tailwind
colors: {
  custom: {
    50: '#7076ad',
    500: '#2b438a',
    950: '#000000',
  },
}
SCSS
$custom: #2b438a;
$custom-light: #7076ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b438a",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 224.842,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.12183,
    "h": 266.8
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B438A

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

Preview Lab → · Contrast checker → · Palette generator →

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