#2B368D#2B368D

#2B368D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.143 H 272.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2B368D
RGBrgb(43, 54, 141)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 70%, 55%)
CMYKcmyk(69.5%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.95, 25.68, -49.71)
CIE-LCHlch(26.95, 55.95, 297.32°)
OKLaboklab(38.04% 0.0054 -0.1433)
OKLCHoklch(38.04% 0.143 272.1)
XYZxyz(7.1215, 5.0743, 25.7983)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B368D #8D822B
analogous
#2B678D #2B368D #512B8D
triadic
#2B368D #8D2B36 #368D2B
tetradic
#2B368D #8D2B67 #8D822B #2B8D51
square
#2B368D #8D2B67 #8D822B #2B8D51
split-complementary
#2B368D #8D512B #678D2B
monochromatic
#0E122F #1D245E #2B368D #3948BC #636FCF

Accessibility & contrast

On white

10.42
#2B368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B368D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B368D#FFFFFF#000000##FFFFFF
##2B368D1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b368d;
/* rgb */ color: rgb(43, 54, 141);
/* oklch */ color: oklch(38.0% 0.143 272.1);
Tailwind
colors: {
  custom: {
    50: '#716daf',
    500: '#2b368d',
    950: '#000000',
  },
}
SCSS
$custom: #2b368d;
$custom-light: #716daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b368d",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 233.265,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38035,
    "c": 0.14341,
    "h": 272.1
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#2B368D
secondary
#B6AC5E
accent
#CC4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B368D

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

Preview Lab → · Contrast checker → · Palette generator →

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