#2B3370#2B3370

#2B3370 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.105 H 274.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2B3370
RGBrgb(43, 51, 112)
HSLhsl(233, 45%, 30%)
HSVhsv(233, 62%, 44%)
CMYKcmyk(61.6%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.84, 16.92, -36.50)
CIE-LCHlch(23.84, 40.23, 294.87°)
OKLaboklab(34.99% 0.0074 -0.1045)
OKLCHoklch(34.99% 0.105 274.1)
XYZxyz(5.1038, 4.0507, 15.8390)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3370 #70682B
analogous
#2B5670 #2B3370 #452B70
triadic
#2B3370 #702B33 #33702B
tetradic
#2B3370 #702B56 #70682B #2B7045
square
#2B3370 #702B56 #70682B #2B7045
split-complementary
#2B3370 #70452B #56702B
monochromatic
#090B18 #1A1F44 #2B3370 #3C479C #5763BE

Accessibility & contrast

On white

11.60
#2B3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3370
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3370#FFFFFF#000000##FFFFFF
##2B33701.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C72
Deuteranopia (green-blind)
#01366F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3370;
/* rgb */ color: rgb(43, 51, 112);
/* oklch */ color: oklch(35.0% 0.105 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b6a99',
    500: '#2b3370',
    950: '#000000',
  },
}
SCSS
$custom: #2b3370;
$custom-light: #6b6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3370",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 233.043,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34995,
    "c": 0.10474,
    "h": 274.1
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2B3370
secondary
#A29955
accent
#C554D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B3370

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

Preview Lab → · Contrast checker → · Palette generator →

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