#2B438C#2B438C

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

Color values

HEX#2B438C
RGBrgb(43, 67, 140)
HSLhsl(225, 53%, 36%)
HSVhsv(225, 69%, 55%)
CMYKcmyk(69.3%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.45, 16.47, -43.41)
CIE-LCHlch(30.45, 46.43, 290.77°)
OKLaboklab(40.64% -0.0065 -0.1246)
OKLCHoklch(40.64% 0.125 267)
XYZxyz(7.7354, 6.4206, 25.6375)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B438C #8C742B
analogous
#2B738C #2B438C #442B8C
triadic
#2B438C #8C2B43 #438C2B
tetradic
#2B438C #8C2B73 #8C742B #2B8C44
square
#2B438C #8C2B73 #8C742B #2B8C44
split-complementary
#2B438C #8C442B #738C2B
monochromatic
#0E162E #1D2D5D #2B438C #3959BB #627DCF

Accessibility & contrast

On white

9.19
#2B438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B438C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B438C#FFFFFF#000000##FFFFFF
##2B438C1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b438c;
/* rgb */ color: rgb(43, 67, 140);
/* oklch */ color: oklch(40.6% 0.125 267.0);
Tailwind
colors: {
  custom: {
    50: '#7076ae',
    500: '#2b438c',
    950: '#000000',
  },
}
SCSS
$custom: #2b438c;
$custom-light: #7076ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b438c",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 225.155,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40639,
    "c": 0.12478,
    "h": 267
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#2B438C
secondary
#B59F5E
accent
#B94BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B438C

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

Preview Lab → · Contrast checker → · Palette generator →

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