#0F276A#0F276A

#0F276A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.3% C 0.121 H 264.8°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#0F276A
RGBrgb(15, 39, 106)
HSLhsl(224, 75%, 24%)
HSVhsv(224, 86%, 42%)
CMYKcmyk(85.8%, 63.2%, 0%, 58.4%)
CIE-LABlab(18.33, 18.72, -41.62)
CIE-LCHlch(18.33, 45.64, 294.22°)
OKLaboklab(30.29% -0.0109 -0.1204)
OKLCHoklch(30.29% 0.121 264.8)
XYZxyz(3.5231, 2.5928, 13.9476)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F276A #6A520F
analogous
#0F546A #0F276A #240F6A
triadic
#0F276A #6A0F27 #276A0F
tetradic
#0F276A #6A0F54 #6A520F #0F6A24
square
#0F276A #6A0F54 #6A520F #0F6A24
split-complementary
#0F276A #6A240F #546A0F
monochromatic
#040A1B #071334 #0F276A #173BA0 #1E4ED5

Accessibility & contrast

On white

13.83
#0F276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F276A
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F276A#FFFFFF#000000##FFFFFF
##0F276A1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f276a;
/* rgb */ color: rgb(15, 39, 106);
/* oklch */ color: oklch(30.3% 0.121 264.8);
Tailwind
colors: {
  custom: {
    50: '#606095',
    500: '#0f276a',
    950: '#000000',
  },
}
SCSS
$custom: #0f276a;
$custom-light: #606095;
$custom-dark: #000000;
JSON
{
  "hex": "#0f276a",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 224.176,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30293,
    "c": 0.12087,
    "h": 264.8
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#0F276A
secondary
#A28532
accent
#C036F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F276A

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

Preview Lab → · Contrast checker → · Palette generator →

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