#2B358B#2B358B

#2B358B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.142 H 272.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2B358B
RGBrgb(43, 53, 139)
HSLhsl(234, 53%, 36%)
HSVhsv(234, 69%, 55%)
CMYKcmyk(69.1%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.51, 25.61, -49.18)
CIE-LCHlch(26.51, 55.45, 297.51°)
OKLaboklab(37.66% 0.0062 -0.1417)
OKLCHoklch(37.66% 0.142 272.5)
XYZxyz(6.9280, 4.9232, 25.0063)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B358B #8B812B
analogous
#2B658B #2B358B #512B8B
triadic
#2B358B #8B2B35 #358B2B
tetradic
#2B358B #8B2B65 #8B812B #2B8B51
square
#2B358B #8B2B65 #8B812B #2B8B51
split-complementary
#2B358B #8B512B #658B2B
monochromatic
#0E112E #1D235C #2B358B #3947BA #626DCE

Accessibility & contrast

On white

10.58
#2B358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B358B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B358B#FFFFFF#000000##FFFFFF
##2B358B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b358b;
/* rgb */ color: rgb(43, 53, 139);
/* oklch */ color: oklch(37.7% 0.142 272.5);
Tailwind
colors: {
  custom: {
    50: '#716cae',
    500: '#2b358b',
    950: '#000000',
  },
}
SCSS
$custom: #2b358b;
$custom-light: #716cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b358b",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 233.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.14189,
    "h": 272.5
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#2B358B
secondary
#B5AB5D
accent
#CD4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B358B

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

Preview Lab → · Contrast checker → · Palette generator →

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