#2B345E#2B345E

#2B345E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.075 H 272.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2B345E
RGBrgb(43, 52, 94)
HSLhsl(229, 37%, 27%)
HSVhsv(229, 54%, 37%)
CMYKcmyk(54.3%, 44.7%, 0%, 63.1%)
CIE-LABlab(22.92, 9.62, -26.30)
CIE-LCHlch(22.92, 28.01, 290.09°)
OKLaboklab(33.91% 0.0035 -0.0745)
OKLCHoklch(33.91% 0.075 272.7)
XYZxyz(4.2440, 3.7775, 11.0930)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B345E #5E552B
analogous
#2B4E5E #2B345E #3C2B5E
triadic
#2B345E #5E2B34 #345E2B
tetradic
#2B345E #5E2B4E #5E552B #2B5E3C
square
#2B345E #5E2B4E #5E552B #2B5E3C
split-complementary
#2B345E #5E3C2B #4E5E2B
monochromatic
#0A0C15 #181D34 #2B345E #3E4B88 #5364B0

Accessibility & contrast

On white

11.96
#2B345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B345E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B345E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B345E#FFFFFF#000000##FFFFFF
##2B345E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#153D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b345e;
/* rgb */ color: rgb(43, 52, 94);
/* oklch */ color: oklch(33.9% 0.075 272.7);
Tailwind
colors: {
  custom: {
    50: '#686b8c',
    500: '#2b345e',
    950: '#000000',
  },
}
SCSS
$custom: #2b345e;
$custom-light: #686b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b345e",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 229.412,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33907,
    "c": 0.07462,
    "h": 272.7
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#2B345E
secondary
#908655
accent
#B95BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2B345E

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

Preview Lab → · Contrast checker → · Palette generator →

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