#0F3D74#0F3D74

#0F3D74 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.3% C 0.106 H 255.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#0F3D74
RGBrgb(15, 61, 116)
HSLhsl(213, 77%, 26%)
HSVhsv(213, 87%, 45%)
CMYKcmyk(87.1%, 47.4%, 0%, 54.5%)
CIE-LABlab(25.86, 7.13, -35.86)
CIE-LCHlch(25.86, 36.56, 281.24°)
OKLaboklab(36.28% -0.0263 -0.103)
OKLCHoklch(36.28% 0.106 255.7)
XYZxyz(5.0170, 4.6994, 17.1623)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3D74 #74460F
analogous
#0F6F74 #0F3D74 #130F74
triadic
#0F3D74 #740F3D #3D740F
tetradic
#0F3D74 #740F6F #74460F #0F7413
square
#0F3D74 #740F6F #74460F #0F7413
split-complementary
#0F3D74 #74130F #6F740F
monochromatic
#040E1B #08213E #0F3D74 #1659AA #1D76E0

Accessibility & contrast

On white

10.82
#0F3D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0F3D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3D74
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3D74#FFFFFF#000000##FFFFFF
##0F3D741.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#073973
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f3d74;
/* rgb */ color: rgb(15, 61, 116);
/* oklch */ color: oklch(36.3% 0.106 255.7);
Tailwind
colors: {
  custom: {
    50: '#61719c',
    500: '#0f3d74',
    950: '#000000',
  },
}
SCSS
$custom: #0f3d74;
$custom-light: #61719c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3d74",
  "rgb": {
    "r": 15,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 212.673,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36278,
    "c": 0.10628,
    "h": 255.7
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#0F3D74
secondary
#AC7533
accent
#9C34F4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3D74

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

Preview Lab → · Contrast checker → · Palette generator →

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