#2B4183#2B4183

#2B4183 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.114 H 267.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2B4183
RGBrgb(43, 65, 131)
HSLhsl(225, 51%, 34%)
HSVhsv(225, 67%, 51%)
CMYKcmyk(67.2%, 50.4%, 0%, 48.6%)
CIE-LABlab(29.24, 14.40, -39.79)
CIE-LCHlch(29.24, 42.32, 289.89°)
OKLaboklab(39.52% -0.0056 -0.114)
OKLCHoklch(39.52% 0.114 267.2)
XYZxyz(6.9819, 5.9322, 22.2454)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4183 #836D2B
analogous
#2B6D83 #2B4183 #412B83
triadic
#2B4183 #832B41 #41832B
tetradic
#2B4183 #832B6D #836D2B #2B8341
square
#2B4183 #832B6D #836D2B #2B8341
split-complementary
#2B4183 #83412B #6D832B
monochromatic
#0D1327 #1C2A55 #2B4183 #3A58B1 #5E79CA

Accessibility & contrast

On white

9.60
#2B4183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B4183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4183
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4183#FFFFFF#000000##FFFFFF
##2B41831.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4985
Deuteranopia (green-blind)
#094182
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4183;
/* rgb */ color: rgb(43, 65, 131);
/* oklch */ color: oklch(39.5% 0.114 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f75a7',
    500: '#2b4183',
    950: '#000000',
  },
}
SCSS
$custom: #2b4183;
$custom-light: #6f75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4183",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 225,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.11412,
    "h": 267.2
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#2B4183
secondary
#B09B5A
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4183

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

Preview Lab → · Contrast checker → · Palette generator →

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