#0B2756#0B2756

#0B2756 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.092 H 260.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#0B2756
RGBrgb(11, 39, 86)
HSLhsl(218, 77%, 19%)
HSVhsv(218, 87%, 34%)
CMYKcmyk(87.2%, 54.7%, 0%, 66.3%)
CIE-LABlab(16.47, 9.57, -31.43)
CIE-LCHlch(16.47, 32.85, 286.93°)
OKLaboklab(28.31% -0.0156 -0.0905)
OKLCHoklch(28.31% 0.092 260.2)
XYZxyz(2.5426, 2.1938, 9.0917)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2756 #563A0B
analogous
#0B4D56 #0B2756 #150B56
triadic
#0B2756 #560B27 #27560B
tetradic
#0B2756 #560B4D #563A0B #0B5615
square
#0B2756 #560B4D #563A0B #0B5615
split-complementary
#0B2756 #56150B #4D560B
monochromatic
#030C1B #040E20 #0B2756 #12408C #1958C3

Accessibility & contrast

On white

14.60
#0B2756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0B2756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2756
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2756#FFFFFF#000000##FFFFFF
##0B27561.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C58
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0b2756;
/* rgb */ color: rgb(11, 39, 86);
/* oklch */ color: oklch(28.3% 0.092 260.2);
Tailwind
colors: {
  custom: {
    50: '#586086',
    500: '#0b2756',
    950: '#000000',
  },
}
SCSS
$custom: #0b2756;
$custom-light: #586086;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2756",
  "rgb": {
    "r": 11,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 217.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28307,
    "c": 0.09181,
    "h": 260.2
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#0B2756
secondary
#916B2B
accent
#AC34F4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0B2756

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

Preview Lab → · Contrast checker → · Palette generator →

#0B2756 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva