#2B4283#2B4283

#2B4283 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.113 H 266.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2B4283
RGBrgb(43, 66, 131)
HSLhsl(224, 51%, 34%)
HSVhsv(224, 67%, 51%)
CMYKcmyk(67.2%, 49.6%, 0%, 48.6%)
CIE-LABlab(29.53, 13.71, -39.32)
CIE-LCHlch(29.53, 41.65, 289.23°)
OKLaboklab(39.74% -0.0066 -0.1126)
OKLCHoklch(39.74% 0.113 266.6)
XYZxyz(7.0398, 6.0481, 22.2647)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4283 #836C2B
analogous
#2B6E83 #2B4283 #402B83
triadic
#2B4283 #832B42 #42832B
tetradic
#2B4283 #832B6E #836C2B #2B8340
square
#2B4283 #832B6E #836C2B #2B8340
split-complementary
#2B4283 #83402B #6E832B
monochromatic
#0D1427 #1C2B55 #2B4283 #3A59B1 #5E7ACA

Accessibility & contrast

On white

9.50
#2B4283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B4283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4283
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4283#FFFFFF#000000##FFFFFF
##2B42831.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A85
Deuteranopia (green-blind)
#0D4282
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4283;
/* rgb */ color: rgb(43, 66, 131);
/* oklch */ color: oklch(39.7% 0.113 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e76a7',
    500: '#2b4283',
    950: '#000000',
  },
}
SCSS
$custom: #2b4283;
$custom-light: #6e76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4283",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 224.318,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.11278,
    "h": 266.6
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#2B4283
secondary
#B09A5A
accent
#B54EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4283

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

Preview Lab → · Contrast checker → · Palette generator →

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