#0F2A45#0F2A45

#0F2A45 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.060 H 250.8°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#0F2A45
RGBrgb(15, 42, 69)
HSLhsl(210, 64%, 16%)
HSVhsv(210, 78%, 27%)
CMYKcmyk(78.3%, 39.1%, 0%, 72.9%)
CIE-LABlab(16.44, 0.45, -19.93)
CIE-LCHlch(16.44, 19.93, 271.29°)
OKLaboklab(27.94% -0.0197 -0.0566)
OKLCHoklch(27.94% 0.06 250.8)
XYZxyz(2.0987, 2.1869, 5.9406)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A45 #452A0F
analogous
#0F4545 #0F2A45 #0F0F45
triadic
#0F2A45 #450F2A #2A450F
tetradic
#0F2A45 #450F45 #452A0F #0F450F
square
#0F2A45 #450F45 #452A0F #0F450F
split-complementary
#0F2A45 #450F0F #45450F
monochromatic
#050F19 #050F19 #0F2A45 #1A4977 #2567AA

Accessibility & contrast

On white

14.61
#0F2A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A45
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A45#FFFFFF#000000##FFFFFF
##0F2A451.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B46
Deuteranopia (green-blind)
#162644
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2a45;
/* rgb */ color: rgb(15, 42, 69);
/* oklch */ color: oklch(27.9% 0.060 250.8);
Tailwind
colors: {
  custom: {
    50: '#556379',
    500: '#0f2a45',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a45;
$custom-light: #556379;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a45",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 210,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27937,
    "c": 0.05989,
    "h": 250.8
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#0F2A45
secondary
#7F5830
accent
#9441E7
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2A45

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

Preview Lab → · Contrast checker → · Palette generator →

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