#2B367E#2B367E

#2B367E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.122 H 272.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2B367E
RGBrgb(43, 54, 126)
HSLhsl(232, 49%, 33%)
HSVhsv(232, 66%, 49%)
CMYKcmyk(65.9%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.74, 20.07, -42.32)
CIE-LCHlch(25.74, 46.84, 295.37°)
OKLaboklab(36.75% 0.0051 -0.1216)
OKLCHoklch(36.75% 0.122 272.4)
XYZxyz(6.0801, 4.6578, 20.3132)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B367E #7E732B
analogous
#2B5F7E #2B367E #492B7E
triadic
#2B367E #7E2B36 #367E2B
tetradic
#2B367E #7E2B5F #7E732B #2B7E49
square
#2B367E #7E2B5F #7E732B #2B7E49
split-complementary
#2B367E #7E492B #5F7E2B
monochromatic
#0C0F23 #1B2250 #2B367E #3B4AAC #5C6AC7

Accessibility & contrast

On white

10.87
#2B367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B367E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B367E#FFFFFF#000000##FFFFFF
##2B367E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b367e;
/* rgb */ color: rgb(43, 54, 126);
/* oklch */ color: oklch(36.8% 0.122 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e6ca4',
    500: '#2b367e',
    950: '#000000',
  },
}
SCSS
$custom: #2b367e;
$custom-light: #6e6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b367e",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 232.048,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.12169,
    "h": 272.4
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#2B367E
secondary
#ADA258
accent
#C64FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B367E

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

Preview Lab → · Contrast checker → · Palette generator →

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