#2B3175#2B3175

#2B3175 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.115 H 274.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2B3175
RGBrgb(43, 49, 117)
HSLhsl(235, 46%, 31%)
HSVhsv(235, 63%, 46%)
CMYKcmyk(63.2%, 58.1%, 0%, 54.1%)
CIE-LABlab(23.65, 20.16, -39.99)
CIE-LCHlch(23.65, 44.79, 296.75°)
OKLaboklab(34.98% 0.0099 -0.1148)
OKLCHoklch(34.98% 0.115 274.9)
XYZxyz(5.3044, 3.9942, 17.3176)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3175 #756F2B
analogous
#2B5675 #2B3175 #4A2B75
triadic
#2B3175 #752B31 #31752B
tetradic
#2B3175 #752B56 #756F2B #2B754A
square
#2B3175 #752B56 #756F2B #2B754A
split-complementary
#2B3175 #754A2B #56752B
monochromatic
#0A0C1B #1B1E48 #2B3175 #3B44A2 #5961C2

Accessibility & contrast

On white

11.67
#2B3175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B3175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3175
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3175#FFFFFF#000000##FFFFFF
##2B31751.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3175;
/* rgb */ color: rgb(43, 49, 117);
/* oklch */ color: oklch(35.0% 0.115 274.9);
Tailwind
colors: {
  custom: {
    50: '#6d699d',
    500: '#2b3175',
    950: '#000000',
  },
}
SCSS
$custom: #2b3175;
$custom-light: #6d699d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3175",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 235.135,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.11523,
    "h": 274.9
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#2B3175
secondary
#A7A055
accent
#CB52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3175

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

Preview Lab → · Contrast checker → · Palette generator →

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