#2B3B8A#2B3B8A

#2B3B8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.133 H 270.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2B3B8A
RGBrgb(43, 59, 138)
HSLhsl(230, 52%, 35%)
HSVhsv(230, 69%, 54%)
CMYKcmyk(68.8%, 57.2%, 0%, 45.9%)
CIE-LABlab(28.05, 21.16, -46.06)
CIE-LCHlch(28.05, 50.69, 294.68°)
OKLaboklab(38.78% 0.0009 -0.1325)
OKLCHoklch(38.78% 0.133 270.4)
XYZxyz(7.1461, 5.4758, 24.7202)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B8A #8A7A2B
analogous
#2B6A8A #2B3B8A #4B2B8A
triadic
#2B3B8A #8A2B3B #3B8A2B
tetradic
#2B3B8A #8A2B6A #8A7A2B #2B8A4B
square
#2B3B8A #8A2B6A #8A7A2B #2B8A4B
split-complementary
#2B3B8A #8A4B2B #6A8A2B
monochromatic
#0E132D #1C275B #2B3B8A #3A4FB9 #6174CE

Accessibility & contrast

On white

10.02
#2B3B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B3B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B8A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B8A#FFFFFF#000000##FFFFFF
##2B3B8A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3b8a;
/* rgb */ color: rgb(43, 59, 138);
/* oklch */ color: oklch(38.8% 0.133 270.4);
Tailwind
colors: {
  custom: {
    50: '#7070ad',
    500: '#2b3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b8a;
$custom-light: #7070ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b8a",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 229.895,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.13252,
    "h": 270.4
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#2B3B8A
secondary
#B4A55D
accent
#C44CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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