#2B367F#2B367F

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

Color values

HEX#2B367F
RGBrgb(43, 54, 127)
HSLhsl(232, 49%, 33%)
HSVhsv(232, 66%, 50%)
CMYKcmyk(66.1%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.81, 20.44, -42.82)
CIE-LCHlch(25.81, 47.45, 295.52°)
OKLaboklab(36.84% 0.0052 -0.1231)
OKLCHoklch(36.84% 0.123 272.4)
XYZxyz(6.1449, 4.6837, 20.6548)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B367F #7F742B
analogous
#2B607F #2B367F #4A2B7F
triadic
#2B367F #7F2B36 #367F2B
tetradic
#2B367F #7F2B60 #7F742B #2B7F4A
square
#2B367F #7F2B60 #7F742B #2B7F4A
split-complementary
#2B367F #7F4A2B #607F2B
monochromatic
#0C0F24 #1C2351 #2B367F #3A49AD #5C6BC8

Accessibility & contrast

On white

10.84
#2B367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B367F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B367F#FFFFFF#000000##FFFFFF
##2B367F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b367f;
/* rgb */ color: rgb(43, 54, 127);
/* oklch */ color: oklch(36.8% 0.123 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e6ca5',
    500: '#2b367f',
    950: '#000000',
  },
}
SCSS
$custom: #2b367f;
$custom-light: #6e6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b367f",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 232.143,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36837,
    "c": 0.12317,
    "h": 272.4
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#2B367F
secondary
#AEA358
accent
#C74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2B367F

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

Preview Lab → · Contrast checker → · Palette generator →

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