#2B3F8E#2B3F8E

#2B3F8E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.133 H 268.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2B3F8E
RGBrgb(43, 63, 142)
HSLhsl(228, 54%, 36%)
HSVhsv(228, 70%, 56%)
CMYKcmyk(69.7%, 55.6%, 0%, 44.3%)
CIE-LABlab(29.47, 19.95, -46.24)
CIE-LCHlch(29.47, 50.36, 293.34°)
OKLaboklab(39.94% -0.0026 -0.133)
OKLCHoklch(39.94% 0.133 268.9)
XYZxyz(7.6546, 6.0209, 26.3447)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F8E #8E7A2B
analogous
#2B718E #2B3F8E #492B8E
triadic
#2B3F8E #8E2B3F #3F8E2B
tetradic
#2B3F8E #8E2B71 #8E7A2B #2B8E49
square
#2B3F8E #8E2B71 #8E7A2B #2B8E49
split-complementary
#2B3F8E #8E492B #718E2B
monochromatic
#0F1530 #1D2A5F #2B3F8E #3954BD #6379D0

Accessibility & contrast

On white

9.53
#2B3F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B3F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F8E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F8E#FFFFFF#000000##FFFFFF
##2B3F8E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b3f8e;
/* rgb */ color: rgb(43, 63, 142);
/* oklch */ color: oklch(39.9% 0.133 268.9);
Tailwind
colors: {
  custom: {
    50: '#7173b0',
    500: '#2b3f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f8e;
$custom-light: #7173b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f8e",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 227.879,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.133,
    "h": 268.9
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#2B3F8E
secondary
#B6A45F
accent
#BF4BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2B3F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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