#2B3E85#2B3E85

#2B3E85 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.121 H 268.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2B3E85
RGBrgb(43, 62, 133)
HSLhsl(227, 51%, 35%)
HSVhsv(227, 68%, 52%)
CMYKcmyk(67.7%, 53.4%, 0%, 47.8%)
CIE-LABlab(28.52, 17.21, -42.20)
CIE-LCHlch(28.52, 45.58, 292.19°)
OKLaboklab(39.01% -0.0023 -0.1211)
OKLCHoklch(39.01% 0.121 268.9)
XYZxyz(6.9511, 5.6517, 22.9103)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E85 #85722B
analogous
#2B6B85 #2B3E85 #452B85
triadic
#2B3E85 #852B3E #3E852B
tetradic
#2B3E85 #852B6B #85722B #2B8545
square
#2B3E85 #852B6B #85722B #2B8545
split-complementary
#2B3E85 #85452B #6B852B
monochromatic
#0D1329 #1C2857 #2B3E85 #3A54B3 #5F76CB

Accessibility & contrast

On white

9.86
#2B3E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B3E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E85
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E85#FFFFFF#000000##FFFFFF
##2B3E851.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134888
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b3e85;
/* rgb */ color: rgb(43, 62, 133);
/* oklch */ color: oklch(39.0% 0.121 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f72a9',
    500: '#2b3e85',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e85;
$custom-light: #6f72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e85",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 227.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.12115,
    "h": 268.9
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#2B3E85
secondary
#B19F5B
accent
#BD4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3E85

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

Preview Lab → · Contrast checker → · Palette generator →

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