#2B3285#2B3285

#2B3285 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.137 H 273.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2B3285
RGBrgb(43, 50, 133)
HSLhsl(235, 51%, 35%)
HSVhsv(235, 68%, 52%)
CMYKcmyk(67.7%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.22, 25.41, -47.55)
CIE-LCHlch(25.22, 53.91, 298.12°)
OKLaboklab(36.55% 0.009 -0.137)
OKLCHoklch(36.55% 0.137 273.8)
XYZxyz(6.3691, 4.4877, 22.7163)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3285 #857E2B
analogous
#2B5F85 #2B3285 #512B85
triadic
#2B3285 #852B32 #32852B
tetradic
#2B3285 #852B5F #857E2B #2B8551
square
#2B3285 #852B5F #857E2B #2B8551
split-complementary
#2B3285 #85512B #5F852B
monochromatic
#0D0F29 #1C2157 #2B3285 #3A43B3 #5F68CB

Accessibility & contrast

On white

11.07
#2B3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3285
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3285#FFFFFF#000000##FFFFFF
##2B32851.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b3285;
/* rgb */ color: rgb(43, 50, 133);
/* oklch */ color: oklch(36.5% 0.137 273.8);
Tailwind
colors: {
  custom: {
    50: '#706aa9',
    500: '#2b3285',
    950: '#000000',
  },
}
SCSS
$custom: #2b3285;
$custom-light: #706aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3285",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 235.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.13728,
    "h": 273.8
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#2B3285
secondary
#B1AB5B
accent
#D04DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B3285

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

Preview Lab → · Contrast checker → · Palette generator →

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