#2B368B#2B368B

#2B368B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.141 H 272.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2B368B
RGBrgb(43, 54, 139)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(69.1%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.78, 24.93, -48.75)
CIE-LCHlch(26.78, 54.75, 297.09°)
OKLaboklab(37.86% 0.0054 -0.1405)
OKLCHoklch(37.86% 0.141 272.2)
XYZxyz(6.9741, 5.0154, 25.0216)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B368B #8B802B
analogous
#2B668B #2B368B #502B8B
triadic
#2B368B #8B2B36 #368B2B
tetradic
#2B368B #8B2B66 #8B802B #2B8B50
square
#2B368B #8B2B66 #8B802B #2B8B50
split-complementary
#2B368B #8B502B #668B2B
monochromatic
#0E122E #1D245C #2B368B #3948BA #626ECE

Accessibility & contrast

On white

10.48
#2B368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B368B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B368B#FFFFFF#000000##FFFFFF
##2B368B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b368b;
/* rgb */ color: rgb(43, 54, 139);
/* oklch */ color: oklch(37.9% 0.141 272.2);
Tailwind
colors: {
  custom: {
    50: '#716dae',
    500: '#2b368b',
    950: '#000000',
  },
}
SCSS
$custom: #2b368b;
$custom-light: #716dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b368b",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 233.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.14057,
    "h": 272.2
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#2B368B
secondary
#B5AB5D
accent
#CC4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B368B

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

Preview Lab → · Contrast checker → · Palette generator →

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