#2B368C#2B368C

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

Color values

HEX#2B368C
RGBrgb(43, 54, 140)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(69.3%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.86, 25.31, -49.23)
CIE-LCHlch(26.86, 55.36, 297.21°)
OKLaboklab(37.95% 0.0054 -0.1419)
OKLCHoklch(37.95% 0.142 272.2)
XYZxyz(7.0475, 5.0447, 25.4082)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B368C #8C812B
analogous
#2B668C #2B368C #502B8C
triadic
#2B368C #8C2B36 #368C2B
tetradic
#2B368C #8C2B66 #8C812B #2B8C50
square
#2B368C #8C2B66 #8C812B #2B8C50
split-complementary
#2B368C #8C502B #668C2B
monochromatic
#0E122E #1D245D #2B368C #3948BB #626FCF

Accessibility & contrast

On white

10.45
#2B368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B368C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B368C#FFFFFF#000000##FFFFFF
##2B368C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b368c;
/* rgb */ color: rgb(43, 54, 140);
/* oklch */ color: oklch(37.9% 0.142 272.2);
Tailwind
colors: {
  custom: {
    50: '#716dae',
    500: '#2b368c',
    950: '#000000',
  },
}
SCSS
$custom: #2b368c;
$custom-light: #716dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b368c",
  "rgb": {
    "r": 43,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 233.196,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.142,
    "h": 272.2
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#2B368C
secondary
#B5AB5E
accent
#CC4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B368C

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

Preview Lab → · Contrast checker → · Palette generator →

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