#0F334E#0F334E

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

Color values

HEX#0F334E
RGBrgb(15, 51, 78)
HSLhsl(206, 68%, 18%)
HSVhsv(206, 81%, 31%)
CMYKcmyk(80.8%, 34.6%, 0%, 69.4%)
CIE-LABlab(20.12, -2.09, -20.23)
CIE-LCHlch(20.12, 20.34, 264.10°)
OKLaboklab(31.01% -0.027 -0.0573)
OKLCHoklch(31.01% 0.063 244.8)
XYZxyz(2.7554, 3.0190, 7.6437)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F334E #4E2A0F
analogous
#0F4E49 #0F334E #0F134E
triadic
#0F334E #4E0F33 #334E0F
tetradic
#0F334E #490F4E #4E2A0F #134E0F
square
#0F334E #490F4E #4E2A0F #134E0F
split-complementary
#0F334E #4E0F13 #4E490F
monochromatic
#05111A #05111B #0F334E #195581 #2376B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F334E#FFFFFF#000000##FFFFFF
##0F334E1.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)
#27344F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f334e;
/* rgb */ color: rgb(15, 51, 78);
/* oklch */ color: oklch(31.0% 0.063 244.8);
Tailwind
colors: {
  custom: {
    50: '#576a7f',
    500: '#0f334e',
    950: '#000000',
  },
}
SCSS
$custom: #0f334e;
$custom-light: #576a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f334e",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 205.714,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31007,
    "c": 0.06335,
    "h": 244.8
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#0F334E
secondary
#885631
accent
#883DEB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F334E

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

Preview Lab → · Contrast checker → · Palette generator →

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