#0F3254#0F3254

#0F3254 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.073 H 250.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#0F3254
RGBrgb(15, 50, 84)
HSLhsl(210, 70%, 19%)
HSVhsv(210, 82%, 33%)
CMYKcmyk(82.1%, 40.5%, 0%, 67.1%)
CIE-LABlab(20.13, 1.16, -24.22)
CIE-LCHlch(20.13, 24.25, 272.73°)
OKLaboklab(31.14% -0.0239 -0.069)
OKLCHoklch(31.14% 0.073 250.9)
XYZxyz(2.9372, 3.0225, 8.8144)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3254 #54310F
analogous
#0F5454 #0F3254 #0F1054
triadic
#0F3254 #540F32 #32540F
tetradic
#0F3254 #540F54 #54310F #10540F
square
#0F3254 #540F54 #54310F #10540F
split-complementary
#0F3254 #540F10 #54540F
monochromatic
#050F1A #061320 #0F3254 #185188 #2270BC

Accessibility & contrast

On white

13.09
#0F3254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F3254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3254
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3254#FFFFFF#000000##FFFFFF
##0F32541.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223455
Deuteranopia (green-blind)
#182E53
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f3254;
/* rgb */ color: rgb(15, 50, 84);
/* oklch */ color: oklch(31.1% 0.073 250.9);
Tailwind
colors: {
  custom: {
    50: '#596984',
    500: '#0f3254',
    950: '#000000',
  },
}
SCSS
$custom: #0f3254;
$custom-light: #596984;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3254",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 209.565,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31136,
    "c": 0.07303,
    "h": 250.9
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#0F3254
secondary
#8E5F31
accent
#933BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F3254

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

Preview Lab → · Contrast checker → · Palette generator →

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