#0F2945#0F2945

#0F2945 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.061 H 252.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#0F2945
RGBrgb(15, 41, 69)
HSLhsl(211, 64%, 16%)
HSVhsv(211, 78%, 27%)
CMYKcmyk(78.3%, 40.6%, 0%, 72.9%)
CIE-LABlab(16.09, 1.17, -20.48)
CIE-LCHlch(16.09, 20.51, 273.28°)
OKLaboklab(27.66% -0.0185 -0.0582)
OKLCHoklch(27.66% 0.061 252.4)
XYZxyz(2.0637, 2.1169, 5.9289)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2945 #452B0F
analogous
#0F4445 #0F2945 #100F45
triadic
#0F2945 #450F29 #29450F
tetradic
#0F2945 #450F44 #452B0F #0F4510
square
#0F2945 #450F44 #452B0F #0F4510
split-complementary
#0F2945 #45100F #44450F
monochromatic
#050F19 #050F19 #0F2945 #1A4777 #2565AA

Accessibility & contrast

On white

14.75
#0F2945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2945
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2945#FFFFFF#000000##FFFFFF
##0F29451.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B46
Deuteranopia (green-blind)
#152644
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2945;
/* rgb */ color: rgb(15, 41, 69);
/* oklch */ color: oklch(27.7% 0.061 252.4);
Tailwind
colors: {
  custom: {
    50: '#556279',
    500: '#0f2945',
    950: '#000000',
  },
}
SCSS
$custom: #0f2945;
$custom-light: #556279;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2945",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 211.111,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27663,
    "c": 0.06108,
    "h": 252.4
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#0F2945
secondary
#7F5930
accent
#9741E7
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2945

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

Preview Lab → · Contrast checker → · Palette generator →

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