#0B274F#0B274F

#0B274F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.081 H 258.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#0B274F
RGBrgb(11, 39, 79)
HSLhsl(215, 76%, 18%)
HSVhsv(215, 86%, 31%)
CMYKcmyk(86.1%, 50.6%, 0%, 69%)
CIE-LABlab(15.93, 6.43, -27.57)
CIE-LCHlch(15.93, 28.31, 283.13°)
OKLaboklab(27.72% -0.0168 -0.0791)
OKLCHoklch(27.72% 0.081 258)
XYZxyz(2.2743, 2.0864, 7.6785)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B274F #4F330B
analogous
#0B494F #0B274F #110B4F
triadic
#0B274F #4F0B27 #274F0B
tetradic
#0B274F #4F0B49 #4F330B #0B4F11
square
#0B274F #4F0B49 #4F330B #0B4F11
split-complementary
#0B274F #4F110B #494F0B
monochromatic
#040D1B #040D1B #0B274F #124285 #1A5CBA

Accessibility & contrast

On white

14.82
#0B274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0B274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B274F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B274F#FFFFFF#000000##FFFFFF
##0B274F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#03254E
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0b274f;
/* rgb */ color: rgb(11, 39, 79);
/* oklch */ color: oklch(27.7% 0.081 258.0);
Tailwind
colors: {
  custom: {
    50: '#566081',
    500: '#0b274f',
    950: '#000000',
  },
}
SCSS
$custom: #0b274f;
$custom-light: #566081;
$custom-dark: #000000;
JSON
{
  "hex": "#0b274f",
  "rgb": {
    "r": 11,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 215.294,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27721,
    "c": 0.0809,
    "h": 258
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#0B274F
secondary
#8B632B
accent
#A536F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0B274F

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

Preview Lab → · Contrast checker → · Palette generator →

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