#0F3D72#0F3D72

#0F3D72 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.1% C 0.103 H 255.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#0F3D72
RGBrgb(15, 61, 114)
HSLhsl(212, 77%, 25%)
HSVhsv(212, 87%, 45%)
CMYKcmyk(86.8%, 46.5%, 0%, 55.3%)
CIE-LABlab(25.72, 6.27, -34.81)
CIE-LCHlch(25.72, 35.37, 280.21°)
OKLaboklab(36.13% -0.0267 -0.0999)
OKLCHoklch(36.13% 0.103 255)
XYZxyz(4.9019, 4.6533, 16.5562)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3D72 #72440F
analogous
#0F6E72 #0F3D72 #120F72
triadic
#0F3D72 #720F3D #3D720F
tetradic
#0F3D72 #720F6E #72440F #0F7212
square
#0F3D72 #720F6E #72440F #0F7212
split-complementary
#0F3D72 #72120F #6E720F
monochromatic
#040E1B #08203C #0F3D72 #165AA8 #1D77DE

Accessibility & contrast

On white

10.88
#0F3D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0F3D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3D72
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3D72#FFFFFF#000000##FFFFFF
##0F3D721.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#0C3971
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f3d72;
/* rgb */ color: rgb(15, 61, 114);
/* oklch */ color: oklch(36.1% 0.103 255.0);
Tailwind
colors: {
  custom: {
    50: '#61729b',
    500: '#0f3d72',
    950: '#000000',
  },
}
SCSS
$custom: #0f3d72;
$custom-light: #61729b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3d72",
  "rgb": {
    "r": 15,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 212.121,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36128,
    "c": 0.10339,
    "h": 255
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#0F3D72
secondary
#AA7333
accent
#9B35F3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3D72

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

Preview Lab → · Contrast checker → · Palette generator →

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