#0F2651#0F2651

#0F2651 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.084 H 261.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#0F2651
RGBrgb(15, 38, 81)
HSLhsl(219, 69%, 19%)
HSVhsv(219, 81%, 32%)
CMYKcmyk(81.5%, 53.1%, 0%, 68.2%)
CIE-LABlab(15.91, 8.63, -28.96)
CIE-LCHlch(15.91, 30.22, 286.60°)
OKLaboklab(27.79% -0.0124 -0.0832)
OKLCHoklch(27.79% 0.084 261.5)
XYZxyz(2.3748, 2.0816, 8.0596)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2651 #513A0F
analogous
#0F4751 #0F2651 #190F51
triadic
#0F2651 #510F26 #26510F
tetradic
#0F2651 #510F47 #513A0F #0F5119
square
#0F2651 #510F47 #513A0F #0F5119
split-complementary
#0F2651 #51190F #47510F
monochromatic
#050C1A #050E1D #0F2651 #193E85 #2256B8

Accessibility & contrast

On white

14.83
#0F2651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2651
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2651#FFFFFF#000000##FFFFFF
##0F26511.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2B53
Deuteranopia (green-blind)
#002550
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2651;
/* rgb */ color: rgb(15, 38, 81);
/* oklch */ color: oklch(27.8% 0.084 261.5);
Tailwind
colors: {
  custom: {
    50: '#585f82',
    500: '#0f2651',
    950: '#000000',
  },
}
SCSS
$custom: #0f2651;
$custom-light: #585f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2651",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 81
  },
  "hsl": {
    "h": 219.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27794,
    "c": 0.08409,
    "h": 261.5
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#0F2651
secondary
#8B6C31
accent
#AE3CEC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F2651

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

Preview Lab → · Contrast checker → · Palette generator →

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