#2B3A7B#2B3A7B

#2B3A7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.112 H 270.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2B3A7B
RGBrgb(43, 58, 123)
HSLhsl(229, 48%, 33%)
HSVhsv(229, 65%, 48%)
CMYKcmyk(65%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.65, 16.18, -38.96)
CIE-LCHlch(26.65, 42.19, 292.55°)
OKLaboklab(37.37% 0.0008 -0.1116)
OKLCHoklch(37.37% 0.112 270.4)
XYZxyz(6.0833, 4.9692, 19.3736)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A7B #7B6C2B
analogous
#2B627B #2B3A7B #442B7B
triadic
#2B3A7B #7B2B3A #3A7B2B
tetradic
#2B3A7B #7B2B62 #7B6C2B #2B7B44
square
#2B3A7B #7B2B62 #7B6C2B #2B7B44
split-complementary
#2B3A7B #7B442B #627B2B
monochromatic
#0B0F20 #1B254E #2B3A7B #3B4FA8 #5B6FC6

Accessibility & contrast

On white

10.53
#2B3A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A7B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A7B#FFFFFF#000000##FFFFFF
##2B3A7B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437D
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3a7b;
/* rgb */ color: rgb(43, 58, 123);
/* oklch */ color: oklch(37.4% 0.112 270.4);
Tailwind
colors: {
  custom: {
    50: '#6d6fa2',
    500: '#2b3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a7b;
$custom-light: #6d6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a7b",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 228.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.11164,
    "h": 270.4
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#2B3A7B
secondary
#AB9B56
accent
#BE50D8
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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