#2B3E8B#2B3E8B

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

Color values

HEX#2B3E8B
RGBrgb(43, 62, 139)
HSLhsl(228, 53%, 36%)
HSVhsv(228, 69%, 55%)
CMYKcmyk(69.1%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.96, 19.49, -45.21)
CIE-LCHlch(28.96, 49.23, 293.33°)
OKLaboklab(39.49% -0.0018 -0.13)
OKLCHoklch(39.49% 0.13 269.2)
XYZxyz(7.3775, 5.8222, 25.1561)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E8B #8B782B
analogous
#2B6E8B #2B3E8B #482B8B
triadic
#2B3E8B #8B2B3E #3E8B2B
tetradic
#2B3E8B #8B2B6E #8B782B #2B8B48
square
#2B3E8B #8B2B6E #8B782B #2B8B48
split-complementary
#2B3E8B #8B482B #6E8B2B
monochromatic
#0E142E #1D295C #2B3E8B #3953BA #6277CE

Accessibility & contrast

On white

9.70
#2B3E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3E8B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E8B#FFFFFF#000000##FFFFFF
##2B3E8B1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3e8b;
/* rgb */ color: rgb(43, 62, 139);
/* oklch */ color: oklch(39.5% 0.130 269.2);
Tailwind
colors: {
  custom: {
    50: '#7072ad',
    500: '#2b3e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e8b;
$custom-light: #7072ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e8b",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 228.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39489,
    "c": 0.12997,
    "h": 269.2
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#2B3E8B
secondary
#B5A35D
accent
#C04CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B3E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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