#2B268E#2B268E

#2B268E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.164 H 276.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2B268E
RGBrgb(43, 38, 142)
HSLhsl(243, 58%, 35%)
HSVhsv(243, 73%, 56%)
CMYKcmyk(69.7%, 73.2%, 0%, 44.3%)
CIE-LABlab(23.18, 36.34, -56.51)
CIE-LCHlch(23.18, 67.18, 302.74°)
OKLaboklab(35.32% 0.0173 -0.1633)
OKLCHoklch(35.32% 0.164 276)
XYZxyz(6.5703, 3.8522, 25.9832)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B268E #898E26
analogous
#26558E #2B268E #5F268E
triadic
#2B268E #8E2B26 #268E2B
tetradic
#2B268E #8E2655 #898E26 #268E5F
square
#2B268E #8E2655 #898E26 #268E5F
split-complementary
#2B268E #8E5F26 #558E26
monochromatic
#0E0C2D #1C195E #2B268E #3A33BE #615BD3

Accessibility & contrast

On white

11.86
#2B268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B268E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B268E#FFFFFF#000000##FFFFFF
##2B268E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b268e;
/* rgb */ color: rgb(43, 38, 142);
/* oklch */ color: oklch(35.3% 0.164 276.0);
Tailwind
colors: {
  custom: {
    50: '#7362b0',
    500: '#2b268e',
    950: '#000000',
  },
}
SCSS
$custom: #2b268e;
$custom-light: #7362b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b268e",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 242.885,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35321,
    "c": 0.16418,
    "h": 276
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#2B268E
secondary
#B3B858
accent
#E147DA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B268E

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

Preview Lab → · Contrast checker → · Palette generator →

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