#0F2A48#0F2A48

#0F2A48 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.065 H 253.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#0F2A48
RGBrgb(15, 42, 72)
HSLhsl(212, 66%, 17%)
HSVhsv(212, 79%, 28%)
CMYKcmyk(79.2%, 41.7%, 0%, 71.8%)
CIE-LABlab(16.63, 1.74, -21.69)
CIE-LCHlch(16.63, 21.75, 274.58°)
OKLaboklab(28.15% -0.0187 -0.0617)
OKLCHoklch(28.15% 0.065 253.1)
XYZxyz(2.1942, 2.2251, 6.4435)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A48 #482D0F
analogous
#0F4748 #0F2A48 #110F48
triadic
#0F2A48 #480F2A #2A480F
tetradic
#0F2A48 #480F47 #482D0F #0F4811
square
#0F2A48 #480F47 #482D0F #0F4811
split-complementary
#0F2A48 #48110F #47480F
monochromatic
#050F19 #050F19 #0F2A48 #1A487B #2465AD

Accessibility & contrast

On white

14.53
#0F2A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F2A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A48
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A48#FFFFFF#000000##FFFFFF
##0F2A481.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C49
Deuteranopia (green-blind)
#142747
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2a48;
/* rgb */ color: rgb(15, 42, 72);
/* oklch */ color: oklch(28.1% 0.065 253.1);
Tailwind
colors: {
  custom: {
    50: '#56637b',
    500: '#0f2a48',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a48;
$custom-light: #56637b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a48",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 211.579,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28146,
    "c": 0.0645,
    "h": 253.1
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#0F2A48
secondary
#825C30
accent
#983FE8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2A48

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

Preview Lab → · Contrast checker → · Palette generator →

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