#0F3E72#0F3E72

#0F3E72 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.4% C 0.102 H 254.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#0F3E72
RGBrgb(15, 62, 114)
HSLhsl(212, 77%, 25%)
HSVhsv(212, 87%, 45%)
CMYKcmyk(86.8%, 45.6%, 0%, 55.3%)
CIE-LABlab(26.04, 5.57, -34.30)
CIE-LCHlch(26.04, 34.75, 279.23°)
OKLaboklab(36.38% -0.0276 -0.0984)
OKLCHoklch(36.38% 0.102 254.3)
XYZxyz(4.9557, 4.7611, 16.5741)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3E72 #72430F
analogous
#0F6F72 #0F3E72 #110F72
triadic
#0F3E72 #720F3E #3E720F
tetradic
#0F3E72 #720F6F #72430F #0F7211
square
#0F3E72 #720F6F #72430F #0F7211
split-complementary
#0F3E72 #72110F #6F720F
monochromatic
#040F1B #08213C #0F3E72 #165BA8 #1D79DE

Accessibility & contrast

On white

10.76
#0F3E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0F3E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3E72
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3E72#FFFFFF#000000##FFFFFF
##0F3E721.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#0F3A71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f3e72;
/* rgb */ color: rgb(15, 62, 114);
/* oklch */ color: oklch(36.4% 0.102 254.3);
Tailwind
colors: {
  custom: {
    50: '#61729b',
    500: '#0f3e72',
    950: '#000000',
  },
}
SCSS
$custom: #0f3e72;
$custom-light: #61729b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3e72",
  "rgb": {
    "r": 15,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 211.515,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36376,
    "c": 0.10215,
    "h": 254.3
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#0F3E72
secondary
#AA7133
accent
#9935F3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #0F3E72

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

Preview Lab → · Contrast checker → · Palette generator →

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