#2B3485#2B3485

#2B3485 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.135 H 273.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2B3485
RGBrgb(43, 52, 133)
HSLhsl(234, 51%, 35%)
HSVhsv(234, 68%, 52%)
CMYKcmyk(67.7%, 60.9%, 0%, 47.8%)
CIE-LABlab(25.75, 24.05, -46.69)
CIE-LCHlch(25.75, 52.52, 297.26°)
OKLaboklab(36.94% 0.0072 -0.1344)
OKLCHoklch(36.94% 0.135 273.1)
XYZxyz(6.4565, 4.6625, 22.7454)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3485 #857C2B
analogous
#2B6185 #2B3485 #4F2B85
triadic
#2B3485 #852B34 #34852B
tetradic
#2B3485 #852B61 #857C2B #2B854F
square
#2B3485 #852B61 #857C2B #2B854F
split-complementary
#2B3485 #854F2B #61852B
monochromatic
#0D1029 #1C2257 #2B3485 #3A46B3 #5F6ACB

Accessibility & contrast

On white

10.87
#2B3485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B3485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3485
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3485#FFFFFF#000000##FFFFFF
##2B34851.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b3485;
/* rgb */ color: rgb(43, 52, 133);
/* oklch */ color: oklch(36.9% 0.135 273.1);
Tailwind
colors: {
  custom: {
    50: '#706ba9',
    500: '#2b3485',
    950: '#000000',
  },
}
SCSS
$custom: #2b3485;
$custom-light: #706ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3485",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 234,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.13463,
    "h": 273.1
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#2B3485
secondary
#B1A95B
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3485

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

Preview Lab → · Contrast checker → · Palette generator →

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