#2B438F#2B438F

#2B438F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.129 H 267.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2B438F
RGBrgb(43, 67, 143)
HSLhsl(226, 54%, 36%)
HSVhsv(226, 70%, 56%)
CMYKcmyk(69.9%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.66, 17.61, -44.91)
CIE-LCHlch(30.66, 48.24, 291.41°)
OKLaboklab(40.87% -0.0062 -0.129)
OKLCHoklch(40.87% 0.129 267.3)
XYZxyz(7.9596, 6.5103, 26.8184)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B438F #8F772B
analogous
#2B758F #2B438F #452B8F
triadic
#2B438F #8F2B43 #438F2B
tetradic
#2B438F #8F2B75 #8F772B #2B8F45
square
#2B438F #8F2B75 #8F772B #2B8F45
split-complementary
#2B438F #8F452B #758F2B
monochromatic
#0F1731 #1D2D60 #2B438F #3959BE #647ED0

Accessibility & contrast

On white

9.12
#2B438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B438F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B438F#FFFFFF#000000##FFFFFF
##2B438F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b438f;
/* rgb */ color: rgb(43, 67, 143);
/* oklch */ color: oklch(40.9% 0.129 267.3);
Tailwind
colors: {
  custom: {
    50: '#7176b0',
    500: '#2b438f',
    950: '#000000',
  },
}
SCSS
$custom: #2b438f;
$custom-light: #7176b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b438f",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 225.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40871,
    "c": 0.12916,
    "h": 267.3
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#2B438F
secondary
#B7A25F
accent
#BA4BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B438F

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

Preview Lab → · Contrast checker → · Palette generator →

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