#0F2A4F#0F2A4F

#0F2A4F is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.7% C 0.075 H 257.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#0F2A4F
RGBrgb(15, 42, 79)
HSLhsl(215, 68%, 18%)
HSVhsv(215, 81%, 31%)
CMYKcmyk(81%, 46.8%, 0%, 69%)
CIE-LABlab(17.09, 4.77, -25.71)
CIE-LCHlch(17.09, 26.15, 280.52°)
OKLaboklab(28.66% -0.0168 -0.0735)
OKLCHoklch(28.66% 0.075 257.1)
XYZxyz(2.4357, 2.3217, 7.7154)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A4F #4F340F
analogous
#0F4A4F #0F2A4F #140F4F
triadic
#0F2A4F #4F0F2A #2A4F0F
tetradic
#0F2A4F #4F0F4A #4F340F #0F4F14
square
#0F2A4F #4F0F4A #4F340F #0F4F14
split-complementary
#0F2A4F #4F140F #4A4F0F
monochromatic
#050E1A #050F1C #0F2A4F #194582 #2361B6

Accessibility & contrast

On white

14.34
#0F2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F2A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A4F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A4F#FFFFFF#000000##FFFFFF
##0F2A4F1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2a4f;
/* rgb */ color: rgb(15, 42, 79);
/* oklch */ color: oklch(28.7% 0.075 257.1);
Tailwind
colors: {
  custom: {
    50: '#586380',
    500: '#0f2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a4f;
$custom-light: #586380;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a4f",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 214.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28659,
    "c": 0.07543,
    "h": 257.1
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#0F2A4F
secondary
#896431
accent
#A23DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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