#2B438D#2B438D

#2B438D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.126 H 267.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2B438D
RGBrgb(43, 67, 141)
HSLhsl(225, 53%, 36%)
HSVhsv(225, 70%, 55%)
CMYKcmyk(69.5%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.52, 16.85, -43.92)
CIE-LCHlch(30.52, 47.04, 290.99°)
OKLaboklab(40.72% -0.0064 -0.1261)
OKLCHoklch(40.72% 0.126 267.1)
XYZxyz(7.8095, 6.4502, 26.0276)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B438D #8D752B
analogous
#2B748D #2B438D #442B8D
triadic
#2B438D #8D2B43 #438D2B
tetradic
#2B438D #8D2B74 #8D752B #2B8D44
square
#2B438D #8D2B74 #8D752B #2B8D44
split-complementary
#2B438D #8D442B #748D2B
monochromatic
#0E162F #1D2D5E #2B438D #3959BC #637ECF

Accessibility & contrast

On white

9.17
#2B438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B438D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B438D#FFFFFF#000000##FFFFFF
##2B438D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b438d;
/* rgb */ color: rgb(43, 67, 141);
/* oklch */ color: oklch(40.7% 0.126 267.1);
Tailwind
colors: {
  custom: {
    50: '#7176af',
    500: '#2b438d',
    950: '#000000',
  },
}
SCSS
$custom: #2b438d;
$custom-light: #7176af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b438d",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 225.306,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.12624,
    "h": 267.1
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#2B438D
secondary
#B6A05E
accent
#B94BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B438D

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

Preview Lab → · Contrast checker → · Palette generator →

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