#2B3E8F#2B3E8F

#2B3E8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.136 H 269.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2B3E8F
RGBrgb(43, 62, 143)
HSLhsl(229, 54%, 36%)
HSVhsv(229, 70%, 56%)
CMYKcmyk(69.9%, 56.6%, 0%, 43.9%)
CIE-LABlab(29.26, 21.01, -47.18)
CIE-LCHlch(29.26, 51.65, 294.01°)
OKLaboklab(39.81% -0.0016 -0.1358)
OKLCHoklch(39.81% 0.136 269.3)
XYZxyz(7.6751, 5.9413, 26.7236)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E8F #8F7C2B
analogous
#2B708F #2B3E8F #4A2B8F
triadic
#2B3E8F #8F2B3E #3E8F2B
tetradic
#2B3E8F #8F2B70 #8F7C2B #2B8F4A
square
#2B3E8F #8F2B70 #8F7C2B #2B8F4A
split-complementary
#2B3E8F #8F4A2B #708F2B
monochromatic
#0F1531 #1D2A60 #2B3E8F #3952BE #6479D0

Accessibility & contrast

On white

9.60
#2B3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2B3E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E8F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E8F#FFFFFF#000000##FFFFFF
##2B3E8F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3e8f;
/* rgb */ color: rgb(43, 62, 143);
/* oklch */ color: oklch(39.8% 0.136 269.3);
Tailwind
colors: {
  custom: {
    50: '#7173b0',
    500: '#2b3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e8f;
$custom-light: #7173b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e8f",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 228.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.13577,
    "h": 269.3
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#2B3E8F
secondary
#B7A65F
accent
#C14BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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