#2B4074#2B4074

#2B4074 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.093 H 265.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4074
RGBrgb(43, 64, 116)
HSLhsl(223, 46%, 31%)
HSVhsv(223, 63%, 45%)
CMYKcmyk(62.9%, 44.8%, 0%, 54.5%)
CIE-LABlab(27.96, 9.41, -32.44)
CIE-LCHlch(27.96, 33.78, 286.18°)
OKLaboklab(38.22% -0.007 -0.0924)
OKLCHoklch(38.22% 0.093 265.7)
XYZxyz(5.9810, 5.4408, 17.2546)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4074 #745F2B
analogous
#2B6474 #2B4074 #3A2B74
triadic
#2B4074 #742B40 #40742B
tetradic
#2B4074 #742B64 #745F2B #2B743A
square
#2B4074 #742B64 #745F2B #2B743A
split-complementary
#2B4074 #743A2B #64742B
monochromatic
#0A0F1B #1A2747 #2B4074 #3C59A1 #5876C1

Accessibility & contrast

On white

10.06
#2B4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B4074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4074
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4074#FFFFFF#000000##FFFFFF
##2B40741.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#1E3F73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4074;
/* rgb */ color: rgb(43, 64, 116);
/* oklch */ color: oklch(38.2% 0.093 265.7);
Tailwind
colors: {
  custom: {
    50: '#6c749c',
    500: '#2b4074',
    950: '#000000',
  },
}
SCSS
$custom: #2b4074;
$custom-light: #6c749c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4074",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 222.74,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38216,
    "c": 0.09267,
    "h": 265.7
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#2B4074
secondary
#A68F55
accent
#B052D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4074

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

Preview Lab → · Contrast checker → · Palette generator →

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