#0F2F76#0F2F76

#0F2F76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.128 H 263.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#0F2F76
RGBrgb(15, 47, 118)
HSLhsl(221, 77%, 26%)
HSVhsv(221, 87%, 46%)
CMYKcmyk(87.3%, 60.2%, 0%, 53.7%)
CIE-LABlab(21.73, 18.00, -43.81)
CIE-LCHlch(21.73, 47.37, 292.33°)
OKLaboklab(33.17% -0.0155 -0.1267)
OKLCHoklch(33.17% 0.128 263)
XYZxyz(4.4824, 3.4420, 17.5642)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F76 #76560F
analogous
#0F6276 #0F2F76 #220F76
triadic
#0F2F76 #760F2F #2F760F
tetradic
#0F2F76 #760F62 #76560F #0F7622
square
#0F2F76 #760F62 #76560F #0F7622
split-complementary
#0F2F76 #76220F #62760F
monochromatic
#030B1B #081940 #0F2F76 #1645AC #1D5AE2

Accessibility & contrast

On white

12.44
#0F2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F76
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F76#FFFFFF#000000##FFFFFF
##0F2F761.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f2f76;
/* rgb */ color: rgb(15, 47, 118);
/* oklch */ color: oklch(33.2% 0.128 263.0);
Tailwind
colors: {
  custom: {
    50: '#62679e',
    500: '#0f2f76',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f76;
$custom-light: #62679e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f76",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 221.359,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33175,
    "c": 0.12761,
    "h": 263
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#0F2F76
secondary
#AD8733
accent
#B834F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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