#2B3085#2B3085

#2B3085 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.140 H 274.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3085
RGBrgb(43, 48, 133)
HSLhsl(237, 51%, 35%)
HSVhsv(237, 68%, 52%)
CMYKcmyk(67.7%, 63.9%, 0%, 47.8%)
CIE-LABlab(24.70, 26.75, -48.39)
CIE-LCHlch(24.70, 55.29, 298.93°)
OKLaboklab(36.17% 0.0107 -0.1395)
OKLCHoklch(36.17% 0.14 274.4)
XYZxyz(6.2855, 4.3204, 22.6884)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3085 #85802B
analogous
#2B5D85 #2B3085 #532B85
triadic
#2B3085 #852B30 #30852B
tetradic
#2B3085 #852B5D #85802B #2B8553
square
#2B3085 #852B5D #85802B #2B8553
split-complementary
#2B3085 #85532B #5D852B
monochromatic
#0D0F29 #1C1F57 #2B3085 #3A41B3 #5F65CB

Accessibility & contrast

On white

11.26
#2B3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3085
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3085#FFFFFF#000000##FFFFFF
##2B30851.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b3085;
/* rgb */ color: rgb(43, 48, 133);
/* oklch */ color: oklch(36.2% 0.140 274.4);
Tailwind
colors: {
  custom: {
    50: '#7068a9',
    500: '#2b3085',
    950: '#000000',
  },
}
SCSS
$custom: #2b3085;
$custom-light: #7068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3085",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 236.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36168,
    "c": 0.1399,
    "h": 274.4
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#2B3085
secondary
#B1AC5B
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3085

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

Preview Lab → · Contrast checker → · Palette generator →

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