#0F3148#0F3148

#0F3148 is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.1% C 0.057 H 241.9°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#0F3148
RGBrgb(15, 49, 72)
HSLhsl(204, 66%, 17%)
HSVhsv(204, 79%, 28%)
CMYKcmyk(79.2%, 31.9%, 0%, 71.8%)
CIE-LABlab(19.08, -3.22, -17.82)
CIE-LCHlch(19.08, 18.10, 259.77°)
OKLaboklab(30.08% -0.0269 -0.0503)
OKLCHoklch(30.08% 0.057 241.9)
XYZxyz(2.4646, 2.7658, 6.5336)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3148 #48260F
analogous
#0F4843 #0F3148 #0F1448
triadic
#0F3148 #480F31 #31480F
tetradic
#0F3148 #430F48 #48260F #14480F
square
#0F3148 #430F48 #48260F #14480F
split-complementary
#0F3148 #480F14 #48430F
monochromatic
#051119 #051119 #0F3148 #1A537B #2476AD

Accessibility & contrast

On white

13.52
#0F3148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F3148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3148
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3148#FFFFFF#000000##FFFFFF
##0F31481.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263149
Deuteranopia (green-blind)
#1F2C48
Tritanopia (blue-blind)
#003739
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f3148;
/* rgb */ color: rgb(15, 49, 72);
/* oklch */ color: oklch(30.1% 0.057 241.9);
Tailwind
colors: {
  custom: {
    50: '#56687b',
    500: '#0f3148',
    950: '#000000',
  },
}
SCSS
$custom: #0f3148;
$custom-light: #56687b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3148",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 72
  },
  "hsl": {
    "h": 204.211,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.05705,
    "h": 241.9
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#0F3148
secondary
#825130
accent
#843FE8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0F3148

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

Preview Lab → · Contrast checker → · Palette generator →

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