#2B4185#2B4185

#2B4185 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.117 H 267.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B4185
RGBrgb(43, 65, 133)
HSLhsl(225, 51%, 35%)
HSVhsv(225, 68%, 52%)
CMYKcmyk(67.7%, 51.1%, 0%, 47.8%)
CIE-LABlab(29.38, 15.16, -40.81)
CIE-LCHlch(29.38, 43.54, 290.38°)
OKLaboklab(39.67% -0.0053 -0.117)
OKLCHoklch(39.67% 0.117 267.4)
XYZxyz(7.1187, 5.9870, 22.9662)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4185 #856F2B
analogous
#2B6E85 #2B4185 #422B85
triadic
#2B4185 #852B41 #41852B
tetradic
#2B4185 #852B6E #856F2B #2B8542
square
#2B4185 #852B6E #856F2B #2B8542
split-complementary
#2B4185 #85422B #6E852B
monochromatic
#0D1429 #1C2A57 #2B4185 #3A58B3 #5F7ACB

Accessibility & contrast

On white

9.56
#2B4185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4185
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4185#FFFFFF#000000##FFFFFF
##2B41851.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A87
Deuteranopia (green-blind)
#034184
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4185;
/* rgb */ color: rgb(43, 65, 133);
/* oklch */ color: oklch(39.7% 0.117 267.4);
Tailwind
colors: {
  custom: {
    50: '#6f75a9',
    500: '#2b4185',
    950: '#000000',
  },
}
SCSS
$custom: #2b4185;
$custom-light: #6f75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4185",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 225.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.1171,
    "h": 267.4
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#2B4185
secondary
#B19C5B
accent
#B84DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4185

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

Preview Lab → · Contrast checker → · Palette generator →

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