#2B3E8A#2B3E8A

#2B3E8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.129 H 269.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2B3E8A
RGBrgb(43, 62, 138)
HSLhsl(228, 52%, 35%)
HSVhsv(228, 69%, 54%)
CMYKcmyk(68.8%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.88, 19.11, -44.71)
CIE-LCHlch(28.88, 48.62, 293.15°)
OKLaboklab(39.41% -0.0019 -0.1285)
OKLCHoklch(39.41% 0.129 269.2)
XYZxyz(7.3048, 5.7931, 24.7731)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E8A #8A772B
analogous
#2B6D8A #2B3E8A #472B8A
triadic
#2B3E8A #8A2B3E #3E8A2B
tetradic
#2B3E8A #8A2B6D #8A772B #2B8A47
square
#2B3E8A #8A2B6D #8A772B #2B8A47
split-complementary
#2B3E8A #8A472B #6D8A2B
monochromatic
#0E142D #1C295B #2B3E8A #3A53B9 #6177CE

Accessibility & contrast

On white

9.73
#2B3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E8A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E8A#FFFFFF#000000##FFFFFF
##2B3E8A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3e8a;
/* rgb */ color: rgb(43, 62, 138);
/* oklch */ color: oklch(39.4% 0.129 269.2);
Tailwind
colors: {
  custom: {
    50: '#7072ad',
    500: '#2b3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e8a;
$custom-light: #7072ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e8a",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 228,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.12851,
    "h": 269.2
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#2B3E8A
secondary
#B4A35D
accent
#BF4CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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