#0F2D60#0F2D60

#0F2D60 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.098 H 260.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#0F2D60
RGBrgb(15, 45, 96)
HSLhsl(218, 73%, 22%)
HSVhsv(218, 84%, 38%)
CMYKcmyk(84.4%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.32, 9.98, -33.47)
CIE-LCHlch(19.32, 34.93, 286.61°)
OKLaboklab(30.77% -0.0164 -0.0963)
OKLCHoklch(30.77% 0.098 260.4)
XYZxyz(3.2459, 2.8225, 11.4378)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D60 #60420F
analogous
#0F5660 #0F2D60 #1A0F60
triadic
#0F2D60 #600F2D #2D600F
tetradic
#0F2D60 #600F56 #60420F #0F601A
square
#0F2D60 #600F56 #60420F #0F601A
split-complementary
#0F2D60 #601A0F #56600F
monochromatic
#040C1A #07142B #0F2D60 #174695 #205FCA

Accessibility & contrast

On white

13.42
#0F2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D60
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D60#FFFFFF#000000##FFFFFF
##0F2D601.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2d60;
/* rgb */ color: rgb(15, 45, 96);
/* oklch */ color: oklch(30.8% 0.098 260.4);
Tailwind
colors: {
  custom: {
    50: '#5c658d',
    500: '#0f2d60',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d60;
$custom-light: #5c658d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d60",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 217.778,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.09768,
    "h": 260.4
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#0F2D60
secondary
#997332
accent
#AC38F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0F2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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