#0F3B72#0F3B72

#0F3B72 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.6% C 0.106 H 256.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#0F3B72
RGBrgb(15, 59, 114)
HSLhsl(213, 77%, 25%)
HSVhsv(213, 87%, 45%)
CMYKcmyk(86.8%, 48.2%, 0%, 55.3%)
CIE-LABlab(25.09, 7.68, -35.83)
CIE-LCHlch(25.09, 36.65, 282.09°)
OKLaboklab(35.64% -0.025 -0.1029)
OKLCHoklch(35.64% 0.106 256.3)
XYZxyz(4.7971, 4.4438, 16.5212)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3B72 #72460F
analogous
#0F6C72 #0F3B72 #140F72
triadic
#0F3B72 #720F3B #3B720F
tetradic
#0F3B72 #720F6C #72460F #0F7214
square
#0F3B72 #720F6C #72460F #0F7214
split-complementary
#0F3B72 #72140F #6C720F
monochromatic
#040E1B #081F3C #0F3B72 #1657A8 #1D73DE

Accessibility & contrast

On white

11.12
#0F3B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0F3B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3B72
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3B72#FFFFFF#000000##FFFFFF
##0F3B721.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#033771
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f3b72;
/* rgb */ color: rgb(15, 59, 114);
/* oklch */ color: oklch(35.6% 0.106 256.3);
Tailwind
colors: {
  custom: {
    50: '#61709b',
    500: '#0f3b72',
    950: '#000000',
  },
}
SCSS
$custom: #0f3b72;
$custom-light: #61709b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3b72",
  "rgb": {
    "r": 15,
    "g": 59,
    "b": 114
  },
  "hsl": {
    "h": 213.333,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35635,
    "c": 0.10593,
    "h": 256.3
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

primary
#0F3B72
secondary
#AA7533
accent
#9E35F3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3B72

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

Preview Lab → · Contrast checker → · Palette generator →

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