#2B4C8E#2B4C8E

#2B4C8E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.116 H 262.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2B4C8E
RGBrgb(43, 76, 142)
HSLhsl(220, 54%, 36%)
HSVhsv(220, 70%, 56%)
CMYKcmyk(69.7%, 46.5%, 0%, 44.3%)
CIE-LABlab(33.21, 11.15, -40.20)
CIE-LCHlch(33.21, 41.72, 285.49°)
OKLaboklab(42.79% -0.015 -0.115)
OKLCHoklch(42.79% 0.116 262.6)
XYZxyz(8.4615, 7.6346, 26.6136)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C8E #8E6D2B
analogous
#2B7E8E #2B4C8E #3C2B8E
triadic
#2B4C8E #8E2B4C #4C8E2B
tetradic
#2B4C8E #8E2B7E #8E6D2B #2B8E3C
square
#2B4C8E #8E2B7E #8E6D2B #2B8E3C
split-complementary
#2B4C8E #8E3C2B #7E8E2B
monochromatic
#0F1A30 #1D335F #2B4C8E #3965BD #6388D0

Accessibility & contrast

On white

8.31
#2B4C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B4C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C8E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C8E#FFFFFF#000000##FFFFFF
##2B4C8E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4c8e;
/* rgb */ color: rgb(43, 76, 142);
/* oklch */ color: oklch(42.8% 0.116 262.6);
Tailwind
colors: {
  custom: {
    50: '#707daf',
    500: '#2b4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c8e;
$custom-light: #707daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c8e",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 220,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.116,
    "h": 262.6
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#2B4C8E
secondary
#B6995F
accent
#AC4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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