#0F2745#0F2745

#0F2745 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.064 H 255.3°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0F2745
RGBrgb(15, 39, 69)
HSLhsl(213, 64%, 16%)
HSVhsv(213, 78%, 27%)
CMYKcmyk(78.3%, 43.5%, 0%, 72.9%)
CIE-LABlab(15.39, 2.64, -21.58)
CIE-LCHlch(15.39, 21.74, 276.97°)
OKLaboklab(27.12% -0.0162 -0.0615)
OKLCHoklch(27.12% 0.064 255.3)
XYZxyz(1.9963, 1.9821, 5.9064)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2745 #452D0F
analogous
#0F4245 #0F2745 #120F45
triadic
#0F2745 #450F27 #27450F
tetradic
#0F2745 #450F42 #452D0F #0F4512
square
#0F2745 #450F42 #452D0F #0F4512
split-complementary
#0F2745 #45120F #42450F
monochromatic
#050E19 #050E19 #0F2745 #1A4377 #2560AA

Accessibility & contrast

On white

15.04
#0F2745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2745
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2745#FFFFFF#000000##FFFFFF
##0F27451.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#112444
Tritanopia (blue-blind)
#002E32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2745;
/* rgb */ color: rgb(15, 39, 69);
/* oklch */ color: oklch(27.1% 0.064 255.3);
Tailwind
colors: {
  custom: {
    50: '#556079',
    500: '#0f2745',
    950: '#000000',
  },
}
SCSS
$custom: #0f2745;
$custom-light: #556079;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2745",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 69
  },
  "hsl": {
    "h": 213.333,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27119,
    "c": 0.06357,
    "h": 255.3
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#0F2745
secondary
#7F5C30
accent
#9D41E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0F2745

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

Preview Lab → · Contrast checker → · Palette generator →

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