#0F2845#0F2845

#0F2845 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.4% C 0.062 H 253.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#0F2845
RGBrgb(15, 40, 69)
HSLhsl(212, 64%, 16%)
HSVhsv(212, 78%, 27%)
CMYKcmyk(78.3%, 42%, 0%, 72.9%)
CIE-LABlab(15.74, 1.90, -21.03)
CIE-LCHlch(15.74, 21.12, 275.17°)
OKLaboklab(27.39% -0.0173 -0.0598)
OKLCHoklch(27.39% 0.062 253.9)
XYZxyz(2.0296, 2.0486, 5.9175)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2845 #452C0F
analogous
#0F4345 #0F2845 #110F45
triadic
#0F2845 #450F28 #28450F
tetradic
#0F2845 #450F43 #452C0F #0F4511
square
#0F2845 #450F43 #452C0F #0F4511
split-complementary
#0F2845 #45110F #43450F
monochromatic
#050F19 #050F19 #0F2845 #1A4577 #2562AA

Accessibility & contrast

On white

14.90
#0F2845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2845
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2845#FFFFFF#000000##FFFFFF
##0F28451.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A46
Deuteranopia (green-blind)
#132544
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2845;
/* rgb */ color: rgb(15, 40, 69);
/* oklch */ color: oklch(27.4% 0.062 253.9);
Tailwind
colors: {
  custom: {
    50: '#556179',
    500: '#0f2845',
    950: '#000000',
  },
}
SCSS
$custom: #0f2845;
$custom-light: #556179;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2845",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 212.222,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2739,
    "c": 0.0623,
    "h": 253.9
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#0F2845
secondary
#7F5B30
accent
#9A41E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2845

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

Preview Lab → · Contrast checker → · Palette generator →

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