#0F2A4D#0F2A4D

#0F2A4D is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.072 H 256.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0F2A4D
RGBrgb(15, 42, 77)
HSLhsl(214, 67%, 18%)
HSVhsv(214, 81%, 30%)
CMYKcmyk(80.5%, 45.5%, 0%, 69.8%)
CIE-LABlab(16.96, 3.90, -24.57)
CIE-LCHlch(16.96, 24.88, 279.02°)
OKLaboklab(28.51% -0.0173 -0.0702)
OKLCHoklch(28.51% 0.072 256.1)
XYZxyz(2.3640, 2.2930, 7.3378)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A4D #4D320F
analogous
#0F494D #0F2A4D #130F4D
triadic
#0F2A4D #4D0F2A #2A4D0F
tetradic
#0F2A4D #4D0F49 #4D320F #0F4D13
square
#0F2A4D #4D0F49 #4D320F #0F4D13
split-complementary
#0F2A4D #4D130F #494D0F
monochromatic
#050E1A #050E1A #0F2A4D #194680 #2362B3

Accessibility & contrast

On white

14.40
#0F2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A4D
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A4D#FFFFFF#000000##FFFFFF
##0F2A4D1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4E
Deuteranopia (green-blind)
#0F274C
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2a4d;
/* rgb */ color: rgb(15, 42, 77);
/* oklch */ color: oklch(28.5% 0.072 256.1);
Tailwind
colors: {
  custom: {
    50: '#57637f',
    500: '#0f2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a4d;
$custom-light: #57637f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a4d",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 213.871,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28508,
    "c": 0.07229,
    "h": 256.1
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#0F2A4D
secondary
#876131
accent
#9F3EEA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0F2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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