#0F2947#0F2947

#0F2947 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.8% C 0.064 H 253.8°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#0F2947
RGBrgb(15, 41, 71)
HSLhsl(212, 65%, 17%)
HSVhsv(212, 79%, 28%)
CMYKcmyk(78.9%, 42.3%, 0%, 72.2%)
CIE-LABlab(16.22, 2.04, -21.65)
CIE-LCHlch(16.22, 21.75, 275.37°)
OKLaboklab(27.8% -0.0179 -0.0616)
OKLCHoklch(27.8% 0.064 253.8)
XYZxyz(2.1269, 2.1421, 6.2614)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2947 #472D0F
analogous
#0F4547 #0F2947 #110F47
triadic
#0F2947 #470F29 #29470F
tetradic
#0F2947 #470F45 #472D0F #0F4711
square
#0F2947 #470F45 #472D0F #0F4711
split-complementary
#0F2947 #47110F #45470F
monochromatic
#050F19 #050F19 #0F2947 #1A467A #2463AC

Accessibility & contrast

On white

14.70
#0F2947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2947
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2947#FFFFFF#000000##FFFFFF
##0F29471.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B48
Deuteranopia (green-blind)
#132646
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2947;
/* rgb */ color: rgb(15, 41, 71);
/* oklch */ color: oklch(27.8% 0.064 253.8);
Tailwind
colors: {
  custom: {
    50: '#56627a',
    500: '#0f2947',
    950: '#000000',
  },
}
SCSS
$custom: #0f2947;
$custom-light: #56627a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2947",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 212.143,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27804,
    "c": 0.06418,
    "h": 253.8
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#0F2947
secondary
#815C30
accent
#9A40E8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2947

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

Preview Lab → · Contrast checker → · Palette generator →

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