#0F2A49#0F2A49

#0F2A49 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.066 H 253.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0F2A49
RGBrgb(15, 42, 73)
HSLhsl(212, 66%, 17%)
HSVhsv(212, 79%, 29%)
CMYKcmyk(79.5%, 42.5%, 0%, 71.4%)
CIE-LABlab(16.69, 2.17, -22.27)
CIE-LCHlch(16.69, 22.37, 275.56°)
OKLaboklab(28.22% -0.0184 -0.0634)
OKLCHoklch(28.22% 0.066 253.8)
XYZxyz(2.2271, 2.2383, 6.6167)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A49 #492E0F
analogous
#0F4749 #0F2A49 #110F49
triadic
#0F2A49 #490F2A #2A490F
tetradic
#0F2A49 #490F47 #492E0F #0F4911
square
#0F2A49 #490F47 #492E0F #0F4911
split-complementary
#0F2A49 #49110F #47490F
monochromatic
#050F19 #050F19 #0F2A49 #19477C #2464AF

Accessibility & contrast

On white

14.50
#0F2A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A49
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A49#FFFFFF#000000##FFFFFF
##0F2A491.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C4A
Deuteranopia (green-blind)
#132748
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2a49;
/* rgb */ color: rgb(15, 42, 73);
/* oklch */ color: oklch(28.2% 0.066 253.8);
Tailwind
colors: {
  custom: {
    50: '#56637c',
    500: '#0f2a49',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a49;
$custom-light: #56637c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a49",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 212.069,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28217,
    "c": 0.06605,
    "h": 253.8
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#0F2A49
secondary
#835D30
accent
#9A3FE9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2A49

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

Preview Lab → · Contrast checker → · Palette generator →

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