#0F2C76#0F2C76

#0F2C76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.132 H 264.0°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#0F2C76
RGBrgb(15, 44, 118)
HSLhsl(223, 77%, 26%)
HSVhsv(223, 87%, 46%)
CMYKcmyk(87.3%, 62.7%, 0%, 53.7%)
CIE-LABlab(20.87, 20.16, -45.23)
CIE-LCHlch(20.87, 49.52, 294.03°)
OKLaboklab(32.53% -0.0136 -0.1309)
OKLCHoklch(32.53% 0.132 264)
XYZxyz(4.3665, 3.2104, 17.5256)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C76 #76590F
analogous
#0F5F76 #0F2C76 #250F76
triadic
#0F2C76 #760F2C #2C760F
tetradic
#0F2C76 #760F5F #76590F #0F7625
square
#0F2C76 #760F5F #76590F #0F7625
split-complementary
#0F2C76 #76250F #5F760F
monochromatic
#030A1B #081840 #0F2C76 #1640AC #1D55E2

Accessibility & contrast

On white

12.79
#0F2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0F2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C76
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C76#FFFFFF#000000##FFFFFF
##0F2C761.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f2c76;
/* rgb */ color: rgb(15, 44, 118);
/* oklch */ color: oklch(32.5% 0.132 264.0);
Tailwind
colors: {
  custom: {
    50: '#63649e',
    500: '#0f2c76',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c76;
$custom-light: #63649e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c76",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 223.107,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32526,
    "c": 0.13158,
    "h": 264
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#0F2C76
secondary
#AD8B33
accent
#BE34F4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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