#0F2B4A#0F2B4A

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

Color values

HEX#0F2B4A
RGBrgb(15, 43, 74)
HSLhsl(212, 66%, 17%)
HSVhsv(212, 80%, 29%)
CMYKcmyk(79.7%, 41.9%, 0%, 71%)
CIE-LABlab(17.10, 1.87, -22.30)
CIE-LCHlch(17.10, 22.38, 274.80°)
OKLaboklab(28.56% -0.0193 -0.0635)
OKLCHoklch(28.56% 0.066 253.1)
XYZxyz(2.2965, 2.3235, 6.8047)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B4A #4A2E0F
analogous
#0F494A #0F2B4A #100F4A
triadic
#0F2B4A #4A0F2B #2B4A0F
tetradic
#0F2B4A #4A0F49 #4A2E0F #0F4A10
square
#0F2B4A #4A0F49 #4A2E0F #0F4A10
split-complementary
#0F2B4A #4A100F #494A0F
monochromatic
#050F19 #050F19 #0F2B4A #19497D #2466B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F2B4A#FFFFFF#000000##FFFFFF
##0F2B4A1.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)
#1D2D4B
Deuteranopia (green-blind)
#142849
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2b4a;
/* rgb */ color: rgb(15, 43, 74);
/* oklch */ color: oklch(28.6% 0.066 253.1);
Tailwind
colors: {
  custom: {
    50: '#56637c',
    500: '#0f2b4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b4a;
$custom-light: #56637c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b4a",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 211.525,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28557,
    "c": 0.06636,
    "h": 253.1
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#0F2B4A
secondary
#845D30
accent
#983FE9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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