#2B347F#2B347F

#2B347F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.126 H 273.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2B347F
RGBrgb(43, 52, 127)
HSLhsl(234, 49%, 33%)
HSVhsv(234, 66%, 50%)
CMYKcmyk(66.1%, 59.1%, 0%, 50.2%)
CIE-LABlab(25.26, 21.82, -43.72)
CIE-LCHlch(25.26, 48.86, 296.52°)
OKLaboklab(36.43% 0.0072 -0.1257)
OKLCHoklch(36.43% 0.126 273.3)
XYZxyz(6.0537, 4.5014, 20.6244)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B347F #7F762B
analogous
#2B5E7F #2B347F #4C2B7F
triadic
#2B347F #7F2B34 #347F2B
tetradic
#2B347F #7F2B5E #7F762B #2B7F4C
square
#2B347F #7F2B5E #7F762B #2B7F4C
split-complementary
#2B347F #7F4C2B #5E7F2B
monochromatic
#0C0F24 #1C2151 #2B347F #3A47AD #5C68C8

Accessibility & contrast

On white

11.05
#2B347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B347F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B347F#FFFFFF#000000##FFFFFF
##2B347F1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b347f;
/* rgb */ color: rgb(43, 52, 127);
/* oklch */ color: oklch(36.4% 0.126 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ba5',
    500: '#2b347f',
    950: '#000000',
  },
}
SCSS
$custom: #2b347f;
$custom-light: #6e6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b347f",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 233.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36427,
    "c": 0.1259,
    "h": 273.3
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#2B347F
secondary
#AEA558
accent
#CA4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B347F

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

Preview Lab → · Contrast checker → · Palette generator →

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