#0F3262#0F3262

#0F3262 is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.2% C 0.094 H 257.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#0F3262
RGBrgb(15, 50, 98)
HSLhsl(215, 73%, 22%)
HSVhsv(215, 85%, 38%)
CMYKcmyk(84.7%, 49%, 0%, 61.6%)
CIE-LABlab(21.07, 7.21, -31.96)
CIE-LCHlch(21.07, 32.76, 282.70°)
OKLaboklab(32.17% -0.0204 -0.0917)
OKLCHoklch(32.17% 0.094 257.4)
XYZxyz(3.5414, 3.2642, 11.9963)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3262 #623F0F
analogous
#0F5C62 #0F3262 #160F62
triadic
#0F3262 #620F32 #32620F
tetradic
#0F3262 #620F5C #623F0F #0F6216
square
#0F3262 #620F5C #623F0F #0F6216
split-complementary
#0F3262 #62160F #5C620F
monochromatic
#040E1B #07172D #0F3262 #174D97 #1F68CC

Accessibility & contrast

On white

12.70
#0F3262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#0F3262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3262
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3262#FFFFFF#000000##FFFFFF
##0F32621.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183764
Deuteranopia (green-blind)
#042F61
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f3262;
/* rgb */ color: rgb(15, 50, 98);
/* oklch */ color: oklch(32.2% 0.094 257.4);
Tailwind
colors: {
  custom: {
    50: '#5d698f',
    500: '#0f3262',
    950: '#000000',
  },
}
SCSS
$custom: #0f3262;
$custom-light: #5d698f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3262",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 214.699,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32169,
    "c": 0.09399,
    "h": 257.4
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#0F3262
secondary
#9B6F32
accent
#A238F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3262

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

Preview Lab → · Contrast checker → · Palette generator →

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