#0F306A#0F306A

#0F306A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.109 H 260.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#0F306A
RGBrgb(15, 48, 106)
HSLhsl(218, 75%, 24%)
HSVhsv(218, 86%, 42%)
CMYKcmyk(85.8%, 54.7%, 0%, 58.4%)
CIE-LABlab(21.04, 12.13, -37.22)
CIE-LCHlch(21.04, 39.15, 288.05°)
OKLaboklab(32.34% -0.0174 -0.1073)
OKLCHoklch(32.34% 0.109 260.8)
XYZxyz(3.8545, 3.2556, 14.0581)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F306A #6A490F
analogous
#0F5D6A #0F306A #1B0F6A
triadic
#0F306A #6A0F30 #306A0F
tetradic
#0F306A #6A0F5D #6A490F #0F6A1B
square
#0F306A #6A0F5D #6A490F #0F6A1B
split-complementary
#0F306A #6A1B0F #5D6A0F
monochromatic
#040C1B #071834 #0F306A #1748A0 #1E61D5

Accessibility & contrast

On white

12.72
#0F306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#0F306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F306A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F306A#FFFFFF#000000##FFFFFF
##0F306A1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f306a;
/* rgb */ color: rgb(15, 48, 106);
/* oklch */ color: oklch(32.3% 0.109 260.8);
Tailwind
colors: {
  custom: {
    50: '#5f6795',
    500: '#0f306a',
    950: '#000000',
  },
}
SCSS
$custom: #0f306a;
$custom-light: #5f6795;
$custom-dark: #000000;
JSON
{
  "hex": "#0f306a",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 218.242,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32336,
    "c": 0.10867,
    "h": 260.8
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#0F306A
secondary
#A27A32
accent
#AE36F2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #0F306A

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

Preview Lab → · Contrast checker → · Palette generator →

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