#0F2A47#0F2A47

#0F2A47 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.063 H 252.4°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#0F2A47
RGBrgb(15, 42, 71)
HSLhsl(211, 65%, 17%)
HSVhsv(211, 79%, 28%)
CMYKcmyk(78.9%, 40.8%, 0%, 72.2%)
CIE-LABlab(16.56, 1.31, -21.10)
CIE-LCHlch(16.56, 21.14, 273.54°)
OKLaboklab(28.08% -0.019 -0.06)
OKLCHoklch(28.08% 0.063 252.4)
XYZxyz(2.1619, 2.2122, 6.2731)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A47 #472C0F
analogous
#0F4647 #0F2A47 #100F47
triadic
#0F2A47 #470F2A #2A470F
tetradic
#0F2A47 #470F46 #472C0F #0F4710
square
#0F2A47 #470F46 #472C0F #0F4710
split-complementary
#0F2A47 #47100F #46470F
monochromatic
#050F19 #050F19 #0F2A47 #1A487A #2466AC

Accessibility & contrast

On white

14.56
#0F2A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A47
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A47#FFFFFF#000000##FFFFFF
##0F2A471.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#152746
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2a47;
/* rgb */ color: rgb(15, 42, 71);
/* oklch */ color: oklch(28.1% 0.063 252.4);
Tailwind
colors: {
  custom: {
    50: '#56637a',
    500: '#0f2a47',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a47;
$custom-light: #56637a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a47",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 211.071,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28075,
    "c": 0.06296,
    "h": 252.4
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#0F2A47
secondary
#815A30
accent
#9740E8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2A47

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

Preview Lab → · Contrast checker → · Palette generator →

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