#2B285E#2B285E

#2B285E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.093 H 282.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#2B285E
RGBrgb(43, 40, 94)
HSLhsl(243, 40%, 26%)
HSVhsv(243, 57%, 37%)
CMYKcmyk(54.3%, 57.4%, 0%, 63.1%)
CIE-LABlab(19.39, 18.06, -31.96)
CIE-LCHlch(19.39, 36.70, 299.47°)
OKLaboklab(31.23% 0.0195 -0.0912)
OKLCHoklch(31.23% 0.093 282)
XYZxyz(3.7748, 2.8391, 10.9366)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B285E #5B5E28
analogous
#28405E #2B285E #46285E
triadic
#2B285E #5E2B28 #285E2B
tetradic
#2B285E #5E2840 #5B5E28 #285E46
square
#2B285E #5E2840 #5B5E28 #285E46
split-complementary
#2B285E #5E4628 #405E28
monochromatic
#0A0915 #171633 #2B285E #3F3A89 #534DB3

Accessibility & contrast

On white

13.39
#2B285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2B285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B285E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B285E#FFFFFF#000000##FFFFFF
##2B285E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3160
Deuteranopia (green-blind)
#052D5D
Tritanopia (blue-blind)
#17343E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b285e;
/* rgb */ color: rgb(43, 40, 94);
/* oklch */ color: oklch(31.2% 0.093 282.0);
Tailwind
colors: {
  custom: {
    50: '#69628c',
    500: '#2b285e',
    950: '#000000',
  },
}
SCSS
$custom: #2b285e;
$custom-light: #69628c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b285e",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 243.333,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.09328,
    "h": 282
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#2B285E
secondary
#8D9151
accent
#D058C9
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #2B285E

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

Preview Lab → · Contrast checker → · Palette generator →

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