#0F2F4F#0F2F4F

#0F2F4F is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.069 H 251.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#0F2F4F
RGBrgb(15, 47, 79)
HSLhsl(210, 68%, 18%)
HSVhsv(210, 81%, 31%)
CMYKcmyk(81%, 40.5%, 0%, 69%)
CIE-LABlab(18.79, 1.14, -22.99)
CIE-LCHlch(18.79, 23.02, 272.85°)
OKLaboklab(29.99% -0.0222 -0.0655)
OKLCHoklch(29.99% 0.069 251.3)
XYZxyz(2.6243, 2.6988, 7.7782)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F4F #4F2F0F
analogous
#0F4F4F #0F2F4F #0F0F4F
triadic
#0F2F4F #4F0F2F #2F4F0F
tetradic
#0F2F4F #4F0F4F #4F2F0F #0F4F0F
square
#0F2F4F #4F0F4F #4F2F0F #0F4F0F
split-complementary
#0F2F4F #4F0F0F #4F4F0F
monochromatic
#050F1A #05101C #0F2F4F #194E82 #236CB6

Accessibility & contrast

On white

13.64
#0F2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F4F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F4F#FFFFFF#000000##FFFFFF
##0F2F4F1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2f4f;
/* rgb */ color: rgb(15, 47, 79);
/* oklch */ color: oklch(30.0% 0.069 251.3);
Tailwind
colors: {
  custom: {
    50: '#586780',
    500: '#0f2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f4f;
$custom-light: #586780;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f4f",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 210,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29985,
    "c": 0.06913,
    "h": 251.3
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#0F2F4F
secondary
#895D31
accent
#943DEB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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