#0F2A40#0F2A40

#0F2A40 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.6% C 0.052 H 245.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2A40
RGBrgb(15, 42, 64)
HSLhsl(207, 62%, 15%)
HSVhsv(207, 77%, 25%)
CMYKcmyk(76.6%, 34.4%, 0%, 74.9%)
CIE-LABlab(16.14, -1.67, -16.95)
CIE-LCHlch(16.14, 17.03, 264.39°)
OKLaboklab(27.61% -0.0214 -0.0479)
OKLCHoklch(27.61% 0.052 245.9)
XYZxyz(1.9500, 2.1274, 5.1574)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A40 #40250F
analogous
#0F403D #0F2A40 #0F1140
triadic
#0F2A40 #400F2A #2A400F
tetradic
#0F2A40 #3D0F40 #40250F #11400F
square
#0F2A40 #3D0F40 #40250F #11400F
split-complementary
#0F2A40 #400F11 #403D0F
monochromatic
#061019 #061019 #0F2A40 #1B4B72 #266BA3

Accessibility & contrast

On white

14.73
#0F2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A40
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A40#FFFFFF#000000##FFFFFF
##0F2A401.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#192640
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2a40;
/* rgb */ color: rgb(15, 42, 64);
/* oklch */ color: oklch(27.6% 0.052 245.9);
Tailwind
colors: {
  custom: {
    50: '#546375',
    500: '#0f2a40',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a40;
$custom-light: #546375;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a40",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 206.939,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27607,
    "c": 0.05245,
    "h": 245.9
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#0F2A40
secondary
#7A5230
accent
#8C43E5
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0F2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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