#2B3A85#2B3A85

#2B3A85 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.127 H 270.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3A85
RGBrgb(43, 58, 133)
HSLhsl(230, 51%, 35%)
HSVhsv(230, 68%, 52%)
CMYKcmyk(67.7%, 56.4%, 0%, 47.8%)
CIE-LABlab(27.39, 19.96, -44.03)
CIE-LCHlch(27.39, 48.34, 294.38°)
OKLaboklab(38.16% 0.0016 -0.1265)
OKLCHoklch(38.16% 0.127 270.7)
XYZxyz(6.7415, 5.2325, 22.8405)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A85 #85762B
analogous
#2B6785 #2B3A85 #492B85
triadic
#2B3A85 #852B3A #3A852B
tetradic
#2B3A85 #852B67 #85762B #2B8549
square
#2B3A85 #852B67 #85762B #2B8549
split-complementary
#2B3A85 #85492B #67852B
monochromatic
#0D1229 #1C2657 #2B3A85 #3A4EB3 #5F71CB

Accessibility & contrast

On white

10.26
#2B3A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B3A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A85
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A85#FFFFFF#000000##FFFFFF
##2B3A851.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014588
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3a85;
/* rgb */ color: rgb(43, 58, 133);
/* oklch */ color: oklch(38.2% 0.127 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fa9',
    500: '#2b3a85',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a85;
$custom-light: #6f6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a85",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 230,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.12656,
    "h": 270.7
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#2B3A85
secondary
#B1A35B
accent
#C34DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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