#0F2C4F#0F2C4F

#0F2C4F is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.073 H 254.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#0F2C4F
RGBrgb(15, 44, 79)
HSLhsl(213, 68%, 18%)
HSVhsv(213, 81%, 31%)
CMYKcmyk(81%, 44.3%, 0%, 69%)
CIE-LABlab(17.77, 3.31, -24.62)
CIE-LCHlch(17.77, 24.85, 277.64°)
OKLaboklab(29.19% -0.019 -0.0703)
OKLCHoklch(29.19% 0.073 254.9)
XYZxyz(2.5084, 2.4672, 7.7396)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C4F #4F320F
analogous
#0F4C4F #0F2C4F #120F4F
triadic
#0F2C4F #4F0F2C #2C4F0F
tetradic
#0F2C4F #4F0F4C #4F320F #0F4F12
square
#0F2C4F #4F0F4C #4F320F #0F4F12
split-complementary
#0F2C4F #4F120F #4C4F0F
monochromatic
#050E1A #050F1C #0F2C4F #194982 #2365B6

Accessibility & contrast

On white

14.06
#0F2C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F2C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C4F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C4F#FFFFFF#000000##FFFFFF
##0F2C4F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F50
Deuteranopia (green-blind)
#11294E
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2c4f;
/* rgb */ color: rgb(15, 44, 79);
/* oklch */ color: oklch(29.2% 0.073 254.9);
Tailwind
colors: {
  custom: {
    50: '#586480',
    500: '#0f2c4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c4f;
$custom-light: #586480;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c4f",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 79
  },
  "hsl": {
    "h": 212.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29185,
    "c": 0.07281,
    "h": 254.9
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#0F2C4F
secondary
#896131
accent
#9C3DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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