#2B3295#2B3295

#2B3295 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.160 H 272.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2B3295
RGBrgb(43, 50, 149)
HSLhsl(236, 55%, 38%)
HSVhsv(236, 71%, 58%)
CMYKcmyk(71.1%, 66.4%, 0%, 41.6%)
CIE-LABlab(26.63, 31.27, -55.16)
CIE-LCHlch(26.63, 63.41, 299.55°)
OKLaboklab(38.02% 0.0081 -0.1593)
OKLCHoklch(38.02% 0.16 272.9)
XYZxyz(7.5599, 4.9640, 28.9877)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3295 #958E2B
analogous
#2B6795 #2B3295 #592B95
triadic
#2B3295 #952B32 #32952B
tetradic
#2B3295 #952B67 #958E2B #2B9559
square
#2B3295 #952B67 #958E2B #2B9559
split-complementary
#2B3295 #95592B #67952B
monochromatic
#101236 #1D2266 #2B3295 #3942C4 #676ED3

Accessibility & contrast

On white

10.54
#2B3295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3295
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3295#FFFFFF#000000##FFFFFF
##2B32951.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3295;
/* rgb */ color: rgb(43, 50, 149);
/* oklch */ color: oklch(38.0% 0.160 272.9);
Tailwind
colors: {
  custom: {
    50: '#746ab5',
    500: '#2b3295',
    950: '#000000',
  },
}
SCSS
$custom: #2b3295;
$custom-light: #746ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3295",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 236.038,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.15952,
    "h": 272.9
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#2B3295
secondary
#BAB462
accent
#D549DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3295

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

Preview Lab → · Contrast checker → · Palette generator →

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