#0F2B4D#0F2B4D

#0F2B4D is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.071 H 255.0°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#0F2B4D
RGBrgb(15, 43, 77)
HSLhsl(213, 67%, 18%)
HSVhsv(213, 81%, 30%)
CMYKcmyk(80.5%, 44.2%, 0%, 69.8%)
CIE-LABlab(17.30, 3.17, -24.03)
CIE-LCHlch(17.30, 24.23, 277.51°)
OKLaboklab(28.77% -0.0184 -0.0686)
OKLCHoklch(28.77% 0.071 255)
XYZxyz(2.3999, 2.3649, 7.3497)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B4D #4D310F
analogous
#0F4A4D #0F2B4D #120F4D
triadic
#0F2B4D #4D0F2B #2B4D0F
tetradic
#0F2B4D #4D0F4A #4D310F #0F4D12
square
#0F2B4D #4D0F4A #4D310F #0F4D12
split-complementary
#0F2B4D #4D120F #4A4D0F
monochromatic
#050E1A #050E1A #0F2B4D #194880 #2364B3

Accessibility & contrast

On white

14.26
#0F2B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B4D
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B4D#FFFFFF#000000##FFFFFF
##0F2B4D1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4E
Deuteranopia (green-blind)
#11284C
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2b4d;
/* rgb */ color: rgb(15, 43, 77);
/* oklch */ color: oklch(28.8% 0.071 255.0);
Tailwind
colors: {
  custom: {
    50: '#57637f',
    500: '#0f2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b4d;
$custom-light: #57637f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b4d",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 212.903,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28773,
    "c": 0.07099,
    "h": 255
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#0F2B4D
secondary
#876031
accent
#9C3EEA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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