#0F3462#0F3462

#0F3462 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.7% C 0.091 H 255.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#0F3462
RGBrgb(15, 52, 98)
HSLhsl(213, 73%, 22%)
HSVhsv(213, 85%, 38%)
CMYKcmyk(84.7%, 46.9%, 0%, 61.6%)
CIE-LABlab(21.72, 5.77, -30.92)
CIE-LCHlch(21.72, 31.45, 280.56°)
OKLaboklab(32.67% -0.0223 -0.0886)
OKLCHoklch(32.67% 0.091 255.9)
XYZxyz(3.6288, 3.4389, 12.0254)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3462 #623D0F
analogous
#0F5E62 #0F3462 #140F62
triadic
#0F3462 #620F34 #34620F
tetradic
#0F3462 #620F5E #623D0F #0F6214
square
#0F3462 #620F5E #623D0F #0F6214
split-complementary
#0F3462 #62140F #5E620F
monochromatic
#040E1B #07182D #0F3462 #175097 #1F6CCC

Accessibility & contrast

On white

12.44
#0F3462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F3462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3462
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3462#FFFFFF#000000##FFFFFF
##0F34621.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3864
Deuteranopia (green-blind)
#0B3161
Tritanopia (blue-blind)
#003F46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3462;
/* rgb */ color: rgb(15, 52, 98);
/* oklch */ color: oklch(32.7% 0.091 255.9);
Tailwind
colors: {
  custom: {
    50: '#5c6a8f',
    500: '#0f3462',
    950: '#000000',
  },
}
SCSS
$custom: #0f3462;
$custom-light: #5c6a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3462",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 98
  },
  "hsl": {
    "h": 213.253,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32672,
    "c": 0.09138,
    "h": 255.9
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

primary
#0F3462
secondary
#9B6C32
accent
#9E38F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3462

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

Preview Lab → · Contrast checker → · Palette generator →

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