#2B368E#2B368E

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

Color values

HEX#2B368E
RGBrgb(43, 54, 142)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 56%)
CMYKcmyk(69.7%, 62%, 0%, 44.3%)
CIE-LABlab(27.03, 26.05, -50.20)
CIE-LCHlch(27.03, 56.55, 297.43°)
OKLaboklab(38.12% 0.0053 -0.1447)
OKLCHoklch(38.12% 0.145 272.1)
XYZxyz(7.1963, 5.1042, 26.1919)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B368E #8E832B
analogous
#2B688E #2B368E #522B8E
triadic
#2B368E #8E2B36 #368E2B
tetradic
#2B368E #8E2B68 #8E832B #2B8E52
square
#2B368E #8E2B68 #8E832B #2B8E52
split-complementary
#2B368E #8E522B #688E2B
monochromatic
#0F1230 #1D245F #2B368E #3948BD #6370D0

Accessibility & contrast

On white

10.39
#2B368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B368E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B368E#FFFFFF#000000##FFFFFF
##2B368E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b368e;
/* rgb */ color: rgb(43, 54, 142);
/* oklch */ color: oklch(38.1% 0.145 272.1);
Tailwind
colors: {
  custom: {
    50: '#726db0',
    500: '#2b368e',
    950: '#000000',
  },
}
SCSS
$custom: #2b368e;
$custom-light: #726db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b368e",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 233.333,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38124,
    "c": 0.14483,
    "h": 272.1
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#2B368E
secondary
#B6AC5F
accent
#CD4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B368E

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

Preview Lab → · Contrast checker → · Palette generator →

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