#2B3C85#2B3C85

#2B3C85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.124 H 269.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B3C85
RGBrgb(43, 60, 133)
HSLhsl(229, 51%, 35%)
HSVhsv(229, 68%, 52%)
CMYKcmyk(67.7%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.95, 18.59, -43.12)
CIE-LCHlch(27.95, 46.96, 293.32°)
OKLaboklab(38.59% -0.0004 -0.1238)
OKLCHoklch(38.59% 0.124 269.8)
XYZxyz(6.8443, 5.4381, 22.8747)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3C85 #85742B
analogous
#2B6985 #2B3C85 #472B85
triadic
#2B3C85 #852B3C #3C852B
tetradic
#2B3C85 #852B69 #85742B #2B8547
square
#2B3C85 #852B69 #85742B #2B8547
split-complementary
#2B3C85 #85472B #69852B
monochromatic
#0D1229 #1C2757 #2B3C85 #3A51B3 #5F74CB

Accessibility & contrast

On white

10.06
#2B3C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B3C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3C85
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3C85#FFFFFF#000000##FFFFFF
##2B3C851.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3c85;
/* rgb */ color: rgb(43, 60, 133);
/* oklch */ color: oklch(38.6% 0.124 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f71a9',
    500: '#2b3c85',
    950: '#000000',
  },
}
SCSS
$custom: #2b3c85;
$custom-light: #6f71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3c85",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 228.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38585,
    "c": 0.12385,
    "h": 269.8
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#2B3C85
secondary
#B1A15B
accent
#C04DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3C85

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

Preview Lab → · Contrast checker → · Palette generator →

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