#0F3154#0F3154

#0F3154 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.9% C 0.074 H 252.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#0F3154
RGBrgb(15, 49, 84)
HSLhsl(210, 70%, 19%)
HSVhsv(210, 82%, 33%)
CMYKcmyk(82.1%, 41.7%, 0%, 67.1%)
CIE-LABlab(19.79, 1.87, -24.76)
CIE-LCHlch(19.79, 24.83, 274.31°)
OKLaboklab(30.87% -0.0229 -0.0706)
OKLCHoklch(30.87% 0.074 252.1)
XYZxyz(2.8949, 2.9379, 8.8003)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3154 #54320F
analogous
#0F5454 #0F3154 #100F54
triadic
#0F3154 #540F31 #31540F
tetradic
#0F3154 #540F54 #54320F #0F5410
square
#0F3154 #540F54 #54320F #0F5410
split-complementary
#0F3154 #54100F #54540F
monochromatic
#050F1A #061320 #0F3154 #184F88 #226EBC

Accessibility & contrast

On white

13.23
#0F3154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F3154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3154
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3154#FFFFFF#000000##FFFFFF
##0F31541.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213355
Deuteranopia (green-blind)
#162D53
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f3154;
/* rgb */ color: rgb(15, 49, 84);
/* oklch */ color: oklch(30.9% 0.074 252.1);
Tailwind
colors: {
  custom: {
    50: '#596884',
    500: '#0f3154',
    950: '#000000',
  },
}
SCSS
$custom: #0f3154;
$custom-light: #596884;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3154",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 210.435,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.07421,
    "h": 252.1
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#0F3154
secondary
#8E6031
accent
#953BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3154

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

Preview Lab → · Contrast checker → · Palette generator →

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