#0F2A3C#0F2A3C

#0F2A3C is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.047 H 240.7°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#0F2A3C
RGBrgb(15, 42, 60)
HSLhsl(204, 60%, 15%)
HSVhsv(204, 75%, 24%)
CMYKcmyk(75%, 30%, 0%, 76.5%)
CIE-LABlab(15.92, -3.32, -14.52)
CIE-LCHlch(15.92, 14.89, 257.11°)
OKLaboklab(27.36% -0.0229 -0.0408)
OKLCHoklch(27.36% 0.047 240.7)
XYZxyz(1.8403, 2.0835, 4.5793)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A3C #3C210F
analogous
#0F3C38 #0F2A3C #0F143C
triadic
#0F2A3C #3C0F2A #2A3C0F
tetradic
#0F2A3C #380F3C #3C210F #143C0F
square
#0F2A3C #380F3C #3C210F #143C0F
split-complementary
#0F2A3C #3C0F14 #3C380F
monochromatic
#061118 #061118 #0F2A3C #1B4C6D #276F9E

Accessibility & contrast

On white

14.82
#0F2A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A3C
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A3C#FFFFFF#000000##FFFFFF
##0F2A3C1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#1C263C
Tritanopia (blue-blind)
#002E30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2a3c;
/* rgb */ color: rgb(15, 42, 60);
/* oklch */ color: oklch(27.4% 0.047 240.7);
Tailwind
colors: {
  custom: {
    50: '#536371',
    500: '#0f2a3c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a3c;
$custom-light: #536371;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a3c",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 60
  },
  "hsl": {
    "h": 204,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27358,
    "c": 0.04685,
    "h": 240.7
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#0F2A3C
secondary
#764C30
accent
#8445E3
background
#F4F5F6
surface
#E8EAEC
border
#C4C6C7
text
#030507
muted
#78797A

Preview Lab

Preview with #0F2A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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